1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_users.git synced 2024-08-16 10:29:50 +02:00

Merge branch 'main' into tpl

Signed-off-by: L3D <l3d@c3woc.de>
This commit is contained in:
L3D 2024-06-06 11:48:31 +02:00 committed by GitHub
commit af3d92dce4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,9 +5,9 @@
user: "{{ user.name }}"
state: 'present'
key: "{{ user.pubkeys | default() }}"
exclusive: "{{ user.exclusive_pubkeys | default(user.exklusive_pubkeys|default(true)) }}"
exclusive: "{{ user.exclusive_pubkeys | default(user.exklusive_pubkeys | default(true)) }}"
loop: "{{ _l3d_users__merged_users }}"
loop_control:
label: "user={{ user.name }}"
loop_var: user
when: user.state | default ('present') == 'present'
when: user.state | default ('present') == 'present'