diff --git a/playbook_sway.yml b/playbook_sway.yml index 8cf4dac..24f4d93 100644 --- a/playbook_sway.yml +++ b/playbook_sway.yml @@ -1,6 +1,6 @@ --- - name: Initial installation of WSL arch - hosts: localhost + hosts: localhost,all become: yes pre_tasks: @@ -130,13 +130,16 @@ remote_src: yes - - name: Ensures sway config direcotry exists + - name: Ensures config directories exist ansible.builtin.file: - path: /home/tobi/.config/sway + path: /home/tobi/.config/{{ item }} state: directory group: tobi owner: tobi mode: '0744' + loop: + - sway + - foot - name: Copy sway config to config ansible.builtin.copy: @@ -147,6 +150,15 @@ mode: '0644' remote_src: yes + - name: Copy foot config to config + ansible.builtin.copy: + src: //tmp/dotfiles/foot.ini + dest: /home/tobi/.config/foot/foot.ini + owner: tobi + group: tobi + mode: '0644' + remote_src: yes + - name: Enable service ly, and not touch the state ansible.builtin.service: name: ly