fix: Invalid arguments in MOTD and Nagios

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2024-07-27 09:51:20 +02:00
parent 19a7af377e
commit d8c17dad4b
No known key found for this signature in database
GPG key ID: A2EB1F2CA8E3F677
2 changed files with 3 additions and 4 deletions

View file

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

View file

@ -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: