Split the sway conf files list into two variables so configs can be appended without having to re-define the default list.

This commit is contained in:
Tom Alexander 2022-10-17 22:32:56 -04:00
parent ff9e438d90
commit dffbe598b3
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
sway_conf_files:
default_sway_conf_files:
- background
- framework_input
- base_hotkeys

View File

@ -47,7 +47,7 @@
mode: 0600
owner: "{{ account_name.stdout }}"
group: "{{ group_name.stdout }}"
loop: "{{ sway_conf_files }}"
loop: "{{ sway_conf_files|default([]) + default_sway_conf_files }}"
- import_tasks: tasks/peruser_freebsd.yaml
when: 'os_flavor == "freebsd"'