equal
deleted
inserted
replaced
|
1 --- |
|
2 |
|
3 - name: apt install ngircd |
|
4 become: yes |
|
5 apt: name="ngircd" |
|
6 notify: restart ngircd |
|
7 |
|
8 - name: config server name |
|
9 become: yes |
|
10 lineinfile: |
|
11 path: "/etc/ngircd/ngircd.conf" |
|
12 regexp: '^ Name =' |
|
13 line: " Name = {{ngircd_name}}" |
|
14 notify: restart ngircd |
|
15 |
|
16 - name: set motd |
|
17 become: yes |
|
18 copy: |
|
19 src: "{{ngircd_motd_src}}" |
|
20 dest: "/etc/ngircd/ngircd.motd" |
|
21 mode: "0644" |
|
22 notify: restart ngircd |
|
23 |
|
24 - name: start ngircd service |
|
25 become: yes |
|
26 systemd: name="ngircd" state="started" daemon_reload="yes" |