atheme/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 04 Jul 2020 11:00:20 -0500
changeset 113 d843011c249d
permissions -rw-r--r--
Got ngircd + atheme services roles working.

---

- 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"