Start of zsh role, per-user section not yet implemented.

This commit is contained in:
Tom Alexander
2022-10-11 20:21:38 -04:00
parent b1532c38cc
commit d51770a4b4
9 changed files with 70 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
- name: Install packages
package:
name:
- zsh
- sqlite3
- git
- py39-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