Make ansible-lint happy

This commit is contained in:
Johannes Rothe 2021-08-31 14:27:56 +02:00
parent 1ef6921640
commit 34ee1e126f

View File

@ -37,12 +37,14 @@
file:
path: '{{ home }}/tmp/dotfiles_backup'
state: directory
mode: 0700
- name: Backup stuff
copy:
src: '{{ item }}'
dest: '{{ home }}/tmp/dotfiles_backup'
remote_src: True # copy the folder from the host instead of ansible
mode: 0600
ignore_errors: yes
loop:
# dirs (without trailing '/' copies the whole dir)
@ -61,6 +63,7 @@
file:
path: '{{ item }}'
state: directory
mode: 0700
loop:
- '{{ home }}/.config/i3/'
- '{{ home }}/.config/i3status/'