Starting the FreeBSD sway role.

This commit is contained in:
Tom Alexander
2022-10-17 14:40:22 -04:00
parent 2b803618be
commit 172b4063ee
11 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
- import_tasks: tasks/freebsd.yaml
when: 'os_flavor == "freebsd"'
- import_tasks: tasks/linux.yaml
when: 'os_flavor == "linux"'
- 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