src.nth.io/

summaryrefslogtreecommitdiff
path: root/atheme/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'atheme/tasks')
-rw-r--r--atheme/tasks/main.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/atheme/tasks/main.yaml b/atheme/tasks/main.yaml
new file mode 100644
index 0000000..bbc1d51
--- /dev/null
+++ b/atheme/tasks/main.yaml
@@ -0,0 +1,17 @@
+---
+
+- name: apt install atheme
+ become: yes
+ apt: name="atheme-services"
+ notify: restart atheme
+
+- name: configure atheme
+ become: yes
+ template:
+ src: "atheme.conf.j2"
+ dest: "/etc/atheme/atheme.conf"
+ notify: restart atheme
+
+- name: start atheme service
+ become: yes
+ systemd: name="atheme-services.service" state="started" enabled="yes" daemon_reload="yes"