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:
jeltz 2020-09-19 22:08:34 +02:00
parent f2c986f99f
commit 665cc7bfb1
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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