feat(role): init
This commit is contained in:
11
tasks/main.yml
Normal file
11
tasks/main.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
- include_tasks: group.yml
|
||||
with_items: "{{ users_groups.keys() }}"
|
||||
loop_control:
|
||||
loop_var: group
|
||||
|
||||
- include_tasks: user.yml
|
||||
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