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 pull request #22 from mbeijen/exclusive-pubkeys-2

Fix: pubkeys variable template error
This commit is contained in:
L3D 2024-06-06 11:47:50 +02:00 committed by GitHub
commit c5c811b254
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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