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:
|
||||
cmd: >-
|
||||
set -o pipefail
|
||||
hostname | figlet -f /usr/share/figlet/smslant.flf"
|
||||
args:
|
||||
executable: /bin/bash
|
||||
hostname | figlet -f /usr/share/figlet/smslant.flf
|
||||
executable: /bin/bash
|
||||
register: _motd
|
||||
changed_when: true
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
ansible.builtin.copy:
|
||||
src: files/nagios/cgi.cfg
|
||||
dest: /etc/nagios4/cgi.cfg
|
||||
mode: "0644"
|
||||
mode: "0644"
|
||||
|
||||
- name: Reload nagios
|
||||
ansible.builtin.service:
|
||||
|
|
Loading…
Reference in a new issue