atheme/tasks/main.yaml
changeset 113 d843011c249d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/atheme/tasks/main.yaml	Sat Jul 04 11:00:20 2020 -0500
@@ -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"