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

---

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