fix: Invalid arguments in MOTD and Nagios
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
19a7af377e
commit
d8c17dad4b
2 changed files with 3 additions and 4 deletions
|
@ -8,9 +8,8 @@
|
||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: >-
|
cmd: >-
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
hostname | figlet -f /usr/share/figlet/smslant.flf"
|
hostname | figlet -f /usr/share/figlet/smslant.flf
|
||||||
args:
|
executable: /bin/bash
|
||||||
executable: /bin/bash
|
|
||||||
register: _motd
|
register: _motd
|
||||||
changed_when: true
|
changed_when: true
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: files/nagios/cgi.cfg
|
src: files/nagios/cgi.cfg
|
||||||
dest: /etc/nagios4/cgi.cfg
|
dest: /etc/nagios4/cgi.cfg
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
|
||||||
- name: Reload nagios
|
- name: Reload nagios
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
|
|
Loading…
Reference in a new issue