moved user tasks to an own file
so they can be called from other roles
This commit is contained in:
12
roles/base/tasks/users.yml
Normal file
12
roles/base/tasks/users.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
# Make sure users exist on the system
|
||||
- import_tasks: users/root.yml
|
||||
- import_tasks: users/rene.yml
|
||||
- import_tasks: users/ansible.yml
|
||||
|
||||
- name: users | all | repeating tasks for all users
|
||||
include_tasks: users/all.yml
|
||||
loop:
|
||||
- rene
|
||||
- root
|
||||
loop_control:
|
||||
loop_var: user
|
||||
Reference in New Issue
Block a user