diff --git a/arch/roles/syncthing/tasks/main.yml b/arch/roles/syncthing/tasks/main.yml new file mode 100644 index 0000000..b2c75d1 --- /dev/null +++ b/arch/roles/syncthing/tasks/main.yml @@ -0,0 +1,13 @@ +- name: Install Syncthing + become: yes + pacman: + name: + - syncthing + state: present + +- name: Enable Syncthing + systemd: + name: syncthing + enabled: yes + state: started + scope: user diff --git a/arch/workstation.yml b/arch/workstation.yml index d8f7a66..0c83183 100644 --- a/arch/workstation.yml +++ b/arch/workstation.yml @@ -22,3 +22,6 @@ - role: stumpwm tags: - stumpwm + - role: syncthing + tags: + - syncthing