src.nth.io/

summaryrefslogtreecommitdiff
path: root/atheme/tasks/main.yaml
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-07-04 11:00:20 -0500
committerLuke Hoersten <[email protected]>2020-07-04 11:00:20 -0500
commit173b1554013ec29dd60b701d4d49e1161fed2523 (patch)
treeff7cf617bf45e53661a0570fe9780bc0feafacf5 /atheme/tasks/main.yaml
parent578da7e200490a1c1a8f34bd2c8929c765ac58f4 (diff)
Got ngircd + atheme services roles working.
Diffstat (limited to 'atheme/tasks/main.yaml')
-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"