call user specific config from all users task

This commit is contained in:
rene committed 2022-03-18 15:51:38 +01:00
1 parent 423e0d0810
commit 4b2108b95f
2 files changed
+8 -4

No files matched your search

+5 -4
View File
@@ -1,12 +1,13 @@
# Make sure users exist on the system
- import_tasks: users/root.yml
- import_tasks: users/rene.yml
- import_tasks: users/ansible.yml
# - 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
- rene
- ansible
loop_control:
loop_var: user