diff --git a/localhost.yml b/localhost.yml index 3fbce15..280b22f 100644 --- a/localhost.yml +++ b/localhost.yml @@ -4,13 +4,13 @@ - prepare - systemd-boot - ubuntu - - prusa-slicer + - desktop + - dwm - dev-java - autofs - - dwm + - prusa-slicer - docker - laptop - - desktop - backup - gaming diff --git a/roles/desktop/tasks/arch.yml b/roles/desktop/tasks/arch.yml index 0654370..689301a 100644 --- a/roles/desktop/tasks/arch.yml +++ b/roles/desktop/tasks/arch.yml @@ -88,7 +88,6 @@ - ttf-fira-code - ttf-font-awesome - ttf-liberation - - ttf-symbola - ttf-ubuntu-font-family - name: "Enable network manager" diff --git a/roles/dwm/tasks/dwm.yml b/roles/dwm/tasks/dwm.yml index c826950..e9398d4 100644 --- a/roles/dwm/tasks/dwm.yml +++ b/roles/dwm/tasks/dwm.yml @@ -38,6 +38,11 @@ make: chdir: "{{ desktop_src_dir }}/dwm" +- name: ensure that xsessions directory exists + file: + path: /usr/share/xsessions + state: directory + - name: copy xsession become: yes copy: @@ -56,6 +61,7 @@ dest: /usr/share/xsessions/dwm-gnome.desktop - name: Create gnome session dir + become: yes file: path: /usr/share/gnome-session/sessions state: directory diff --git a/roles/prepare/tasks/arch.yml b/roles/prepare/tasks/arch.yml index 66cb318..8f16240 100644 --- a/roles/prepare/tasks/arch.yml +++ b/roles/prepare/tasks/arch.yml @@ -34,7 +34,7 @@ command: chdir: "{{ arch_src_dir }}/yay" cmd: - makepkg -si --needed + makepkg -si --needed --noconfirm - name: update yay cache shell: diff --git a/roles/prusa-slicer/tasks/main.yml b/roles/prusa-slicer/tasks/main.yml index 7c29251..7d0a92f 100644 --- a/roles/prusa-slicer/tasks/main.yml +++ b/roles/prusa-slicer/tasks/main.yml @@ -1,3 +1,4 @@ - include_tasks: install-program.yml - include_tasks: config-repository.yml + when: ansible_distribution == "Ubuntu"