From bf907e5e2a63c2a9d7664ef55bd0ac01665fa691 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 7 Jul 2020 09:39:05 -0400 Subject: [PATCH] Install and enable syncthing --- arch/roles/syncthing/tasks/main.yml | 13 +++++++++++++ arch/workstation.yml | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 arch/roles/syncthing/tasks/main.yml 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