ngircd/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 04 Jul 2020 12:47:25 -0500
changeset 114 34c8632d763d
parent 113 d843011c249d
permissions -rw-r--r--
Added oragono role.

---

- name: apt install ngircd
  become: yes
  apt: name="ngircd"
  notify: restart ngircd

- name: configure ngircd
  become: yes
  template:
    src: "ngircd.conf.j2"
    dest: "/etc/ngircd/ngircd.conf"
  notify: restart ngircd

- name: copy motd file
  become: yes
  copy:
    src: "{{ngircd_motd_src}}"
    dest: "/etc/ngircd/ngircd.motd"
  notify: restart ngircd

- name: start ngircd service
  become: yes
  systemd: name="ngircd" state="started" enabled="yes" daemon_reload="yes"