Add the per-user common role.

This commit is contained in:
Tom Alexander
2022-10-11 20:33:16 -04:00
parent d51770a4b4
commit 238885db9a
4 changed files with 51 additions and 0 deletions

View File

@@ -6,3 +6,12 @@
- git
- python-jmespath # Needed on machine running ansible for json_query
state: present
- include_tasks:
file: tasks/peruser.yaml
apply:
become: yes
become_user: "{{ initialize_user }}"
loop: "{{ users | dict2items | community.general.json_query('[?value.initialize==`true`].key') }}"
loop_control:
loop_var: initialize_user