Remplacement de certains with_*
par loop
.
Sauf le `with_fileglob`, conformément aux recommendations de la documentation Ansible : https://docs.ansible.com/ansible/latest/user_guide/playbooks_loops.html
This commit is contained in:
parent
f2c986f99f
commit
665cc7bfb1
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@
|
|||
owner: logstash
|
||||
group: logstash
|
||||
mode: u=r,g=,o=
|
||||
with_items:
|
||||
loop:
|
||||
- main.conf
|
||||
- sshd.conf
|
||||
- pam_unix.conf
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
owner: root
|
||||
group: root
|
||||
mode: "{{ item.mode }}"
|
||||
with_items:
|
||||
loop:
|
||||
- name: ssl
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
- name: ssl/private
|
||||
|
|
Loading…
Reference in a new issue