Fix shell_module executable and mail healthcheck
This commit is contained in:
parent
0c60e974a2
commit
36c12a330f
4 changed files with 23 additions and 9 deletions
playbooks/roles/healthcheck/tasks
|
@ -14,6 +14,7 @@
|
|||
|
||||
- name: Get all healthcheck timers
|
||||
ansible.builtin.shell: # noqa: command-instead-of-module
|
||||
executable: /usr/bin/bash
|
||||
cmd: "set -o pipefail && systemctl list-timers 'healthcheck@*' --all --output=json | jq -r '.[].unit'"
|
||||
register: systemd_timers_result
|
||||
changed_when: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue