moved user tasks to an own file

so they can be called from other roles
This commit is contained in:
rene
2022-02-25 14:59:09 +01:00
parent bff9415438
commit 64bbb73b71
3 changed files with 17 additions and 12 deletions

View 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