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
|
owner: logstash
|
||||||
group: logstash
|
group: logstash
|
||||||
mode: u=r,g=,o=
|
mode: u=r,g=,o=
|
||||||
with_items:
|
loop:
|
||||||
- main.conf
|
- main.conf
|
||||||
- sshd.conf
|
- sshd.conf
|
||||||
- pam_unix.conf
|
- pam_unix.conf
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "{{ item.mode }}"
|
mode: "{{ item.mode }}"
|
||||||
with_items:
|
loop:
|
||||||
- name: ssl
|
- name: ssl
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
- name: ssl/private
|
- name: ssl/private
|
||||||
|
|
Loading…
Reference in a new issue