diff --git a/tasks/motd.yml b/tasks/motd.yml index 2ad6df3..26dd543 100644 --- a/tasks/motd.yml +++ b/tasks/motd.yml @@ -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 diff --git a/tasks/nagios.yml b/tasks/nagios.yml index 8a0d08a..8075580 100644 --- a/tasks/nagios.yml +++ b/tasks/nagios.yml @@ -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: