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

Fix: pubkeys variable template error

This fixes an error I introduced in 0e2b1a0ad4
This commit is contained in:
Michiel W. Beijen 2024-05-30 22:50:24 +02:00
parent 65a26e41f3
commit a3b863f438

View file

@ -5,7 +5,7 @@
user: "{{ user.name }}"
state: 'present'
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_control:
label: "user={{ user.name }}"