feat: make fixes to be compatible with latest version (#5)
Some checks failed
checks-test / Lint (push) Successful in 17s
checks-test / molecule (rockylinux10) (push) Failing after 1s
checks-test / molecule (rockylinux9) (push) Failing after 2s
checks-test / molecule (ubuntu2204) (push) Failing after 2s
checks-test / molecule (ubuntu2404) (push) Failing after 2s
checks-test / molecule (debian11) (push) Successful in 1m52s
checks-test / molecule (debian12) (push) Successful in 1m53s
checks-test / molecule (debian13) (push) Successful in 1m49s
Some checks failed
checks-test / Lint (push) Successful in 17s
checks-test / molecule (rockylinux10) (push) Failing after 1s
checks-test / molecule (rockylinux9) (push) Failing after 2s
checks-test / molecule (ubuntu2204) (push) Failing after 2s
checks-test / molecule (ubuntu2404) (push) Failing after 2s
checks-test / molecule (debian11) (push) Successful in 1m52s
checks-test / molecule (debian12) (push) Successful in 1m53s
checks-test / molecule (debian13) (push) Successful in 1m49s
Reviewed-on: #5 Co-authored-by: Mykhailo Nikiforov <mn@palkoi.net> Co-committed-by: Mykhailo Nikiforov <mn@palkoi.net>
This commit was merged in pull request #5.
This commit is contained in:
@@ -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', '') != ''
|
||||
with_items: "{{ users.keys() }}"
|
||||
loop_control:
|
||||
loop_var: username
|
||||
|
||||
Reference in New Issue
Block a user