diff --git a/roles/dwm/tasks/dwm.yml b/roles/dwm/tasks/dwm.yml index f1aa9df..7e77e08 100644 --- a/roles/dwm/tasks/dwm.yml +++ b/roles/dwm/tasks/dwm.yml @@ -39,6 +39,7 @@ chdir: "{{ desktop_src_dir }}/dwm" - name: ensure that xsessions directory exists + become: yes file: path: /usr/share/xsessions state: directory @@ -49,11 +50,6 @@ src: usr/share/xsessions/dwm.desktop dest: /usr/share/xsessions/dwm.desktop -- name: Create xsession dir - file: - path: /usr/share/xsessions - state: directory - - name: copy xsession for gnome become: yes copy: