You've already forked ansible-role-unix-users
style(unix_users): name of tasks, use built in module
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
- name: Remove unix user
|
||||
include_tasks: remove_unix_user.yml
|
||||
ansible.builtin.include_tasks: remove_unix_user.yml
|
||||
with_dict: "{{ unix_users }}"
|
||||
loop_control:
|
||||
loop_var: unix_user
|
||||
@ -11,7 +11,7 @@
|
||||
unix_user.value.state == 'absent'
|
||||
|
||||
- name: Remove unix groups
|
||||
include_tasks: remove_unix_group.yml
|
||||
ansible.builtin.include_tasks: remove_unix_group.yml
|
||||
with_dict: "{{ unix_groups }}"
|
||||
loop_control:
|
||||
loop_var: unix_group
|
||||
@ -21,7 +21,7 @@
|
||||
unix_group.value.state == 'absent'
|
||||
|
||||
- name: Create unix groups
|
||||
include_tasks: create_unix_group.yml
|
||||
ansible.builtin.include_tasks: create_unix_group.yml
|
||||
with_dict: "{{ unix_groups }}"
|
||||
loop_control:
|
||||
loop_var: unix_group
|
||||
@ -33,7 +33,7 @@
|
||||
)
|
||||
|
||||
- name: Create unix users
|
||||
include_tasks: create_unix_user.yml
|
||||
ansible.builtin.include_tasks: create_unix_user.yml
|
||||
with_dict: "{{ unix_users }}"
|
||||
loop_control:
|
||||
loop_var: unix_user
|
||||
|
Reference in New Issue
Block a user