Merge pull request '[EVO] Vérifier la présence du fichier avant de le copier' (#2) from checkBeforeCopy into master

Reviewed-on: #2
This commit is contained in:
pulsar89.5 2023-05-26 10:22:11 +00:00
commit c6647d7c2e

View File

@ -43,7 +43,9 @@
mode: u=rw,g=,o=
src: "{{ item.src }}"
dest: "{{ item.dest }}"
when: fail2ban_templates | length > 0
when:
- fail2ban_templates | length > 0
- item.src is exists
loop: "{{ fail2ban_templates }}"
loop_control:
label: "{{ item.dest }}"