equal
deleted
inserted
replaced
11 path: "/etc/ngircd/ngircd.conf" |
11 path: "/etc/ngircd/ngircd.conf" |
12 regexp: '^ Name =' |
12 regexp: '^ Name =' |
13 line: " Name = {{ngircd_name}}" |
13 line: " Name = {{ngircd_name}}" |
14 notify: restart ngircd |
14 notify: restart ngircd |
15 |
15 |
16 - name: set motd |
16 - name: config server local listen |
|
17 become: yes |
|
18 lineinfile: |
|
19 path: "/etc/ngircd/ngircd.conf" |
|
20 regexp: '^ Listen =' |
|
21 line: " Listen = 127.0.0.1" |
|
22 insertafter: "^ ;Listen =" |
|
23 notify: restart ngircd |
|
24 |
|
25 - name: config motd |
|
26 become: yes |
|
27 lineinfile: |
|
28 path: "/etc/ngircd/ngircd.conf" |
|
29 regexp: '^ Info =' |
|
30 line: " Info = {{ngircd_motd}}" |
|
31 notify: restart ngircd |
|
32 |
|
33 - name: copy motd file |
17 become: yes |
34 become: yes |
18 copy: |
35 copy: |
19 src: "{{ngircd_motd_src}}" |
36 src: "{{ngircd_motd_src}}" |
20 dest: "/etc/ngircd/ngircd.motd" |
37 dest: "/etc/ngircd/ngircd.motd" |
21 mode: "0644" |
38 mode: "0644" |