Use 'loop' syntax instead of 'with_dict'
This commit is contained in:
parent
5138065059
commit
07fd6451e1
|
@ -19,7 +19,7 @@ The **patch** part changes incrementally at each release.
|
|||
|
||||
### Changed
|
||||
|
||||
* Use 'loop' syntax instead of 'with_first_found/with_items'
|
||||
* Use 'loop' syntax instead of 'with_first_found/with_items/with_dict'
|
||||
* apt: store keys in /etc/apt/trusted.gpg.d in ascii format
|
||||
* evolinux-base: copy GPG key instead of using apt-key
|
||||
* ntpd: Add leapfile configuration setting to ntpd on debian 10+
|
||||
|
|
|
@ -15,14 +15,14 @@
|
|||
include: user.yml
|
||||
vars:
|
||||
user: "{{ item.value }}"
|
||||
with_dict: "{{ evolinux_users }}"
|
||||
loop: "{{ evolinux_users | dict2items }}"
|
||||
when: evolinux_users != {}
|
||||
|
||||
- name: Configure sudo
|
||||
include: sudo.yml
|
||||
vars:
|
||||
user: "{{ item.value }}"
|
||||
with_dict: "{{ evolinux_users }}"
|
||||
loop: "{{ evolinux_users | dict2items }}"
|
||||
when: evolinux_users != {}
|
||||
|
||||
- name: Configure SSH
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
- include: ssh_allowusers.yml
|
||||
vars:
|
||||
user: "{{ item.value }}"
|
||||
with_dict: "{{ evolinux_users }}"
|
||||
loop: "{{ evolinux_users | dict2items }}"
|
||||
when:
|
||||
- ssh_allowusers
|
||||
- not ssh_allowgroups
|
||||
|
|
Loading…
Reference in New Issue