src.nth.io/

summaryrefslogtreecommitdiff
path: root/ngircd/tasks/main.yaml
blob: d8341f1a9e8141ec6f86f38fec67daa7139275f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---

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