Update access targets to be optional parameter
Add server role to iridium
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
|
||||
- name: Add administrators to docker group
|
||||
become: true
|
||||
when: item.admin | default(false) and 'cluster' in item.targets
|
||||
when: item.admin | default(false) and 'cluster' in (item.targets | default([]))
|
||||
ansible.builtin.user:
|
||||
name: "{{ item.name }}"
|
||||
group: "{{ item.name }}"
|
||||
|
Reference in New Issue
Block a user