feat: make fixes to be compatible with latest version #5
@@ -7,7 +7,7 @@
|
||||
|
||||
- name: Create users
|
||||
ansible.builtin.include_tasks: user.yml
|
||||
when: ansible_default_ipv4.address in users[username]['passwords'] or users[username]['passwords'].get('default')
|
||||
when: ansible_default_ipv4.address in users[username]['passwords'] or users[username]['passwords'].get('default', None) is not None
|
||||
with_items: "{{ users.keys() }}"
|
||||
loop_control:
|
||||
loop_var: username
|
||||
|
||||
Reference in New Issue
Block a user