Add sway for linux.

This commit is contained in:
Tom Alexander
2023-02-01 23:14:20 -05:00
parent 8bd1c8f79e
commit a808f81e27
12 changed files with 96 additions and 35 deletions

View File

@@ -1,9 +1,3 @@
- name: Install packages
package:
name:
- zrepl
state: present
- name: Create directories
file:
name: "{{ item }}"
@@ -14,6 +8,12 @@
loop:
- /usr/local/etc/zrepl
- import_tasks: tasks/freebsd.yaml
when: 'os_flavor == "freebsd"'
- import_tasks: tasks/linux.yaml
when: 'os_flavor == "linux"'
- name: Configure zrepl
template:
src: templates/zrepl.yml.j2
@@ -23,9 +23,3 @@
group: wheel
validate: "zrepl configcheck --config %s"
notify: "restart zrepl"
- import_tasks: tasks/freebsd.yaml
when: 'os_flavor == "freebsd"'
- import_tasks: tasks/linux.yaml
when: 'os_flavor == "linux"'