Fix shell_module executable and mail healthcheck

This commit is contained in:
Tobias Reisinger 2024-10-18 14:32:30 +02:00
parent 0c60e974a2
commit 36c12a330f
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 23 additions and 9 deletions
playbooks/roles/lego/tasks

View file

@ -14,6 +14,7 @@
- name: Get all lego timers
ansible.builtin.shell:
executable: /usr/bin/bash
cmd: "set -o pipefail && systemctl list-timers 'lego@*' --all --output=json | jq -r '.[].unit'"
register: systemd_timers_result
changed_when: false