Copy the correct files when copying i3 config files

This commit is contained in:
Jake Howard 2018-10-06 15:02:04 +01:00
parent 639e94bfd2
commit c6f450c1b1
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -13,7 +13,7 @@
- {src: "dunst.conf", dest: "{{ home }}/.config/dunst/dunstrc"}
- name: "Create i3 config file directories"
with_items: "{{ user_config_files }}"
with_items: "{{ i3_config_files }}"
file:
path: '{{ item.dest | dirname }}'
state: directory
@ -21,7 +21,7 @@
mode: 0755
- name: "Copy i3 config files"
with_items: "{{ user_config_files }}"
with_items: "{{ i3_config_files }}"
copy:
src: './files/{{ item.src }}'
dest: '{{ item.dest }}'