ngircd/tasks/main.yaml
author Luke Hoersten <luke@hoersten.org>
Sat, 04 Jul 2020 13:20:11 -0500
changeset 115 1dc87d96ed8a
parent 113 d843011c249d
permissions -rw-r--r--
Added cooler cloaks.

---

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