mirror of
https://github.com/luzifer-ansible/users.git
synced 2024-12-22 18:01:18 +00:00
Fix: Remove deprecated jinja templating in when
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c89ee9836d
commit
67b5351457
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
mode: 0700
|
mode: 0700
|
||||||
owner: '{{ item.name }}'
|
owner: '{{ item.name }}'
|
||||||
group: '{{ item.name }}'
|
group: '{{ item.name }}'
|
||||||
when: '{{ item.state | default("present") == "present" }}'
|
when: item.state is not defined or item.state == "present"
|
||||||
with_items: '{{ users }}'
|
with_items: '{{ users }}'
|
||||||
|
|
||||||
- name: Install SSH keys for user
|
- name: Install SSH keys for user
|
||||||
|
|
Loading…
Reference in a new issue