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/software/tasks

View file

@ -23,9 +23,9 @@
register: autorestic_status
- name: Install autorestic
ansible.builtin.shell: set -o pipefail && wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
args:
executable: /bin/bash
ansible.builtin.shell:
executable: /usr/bin/bash
cmd: set -o pipefail && wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
when: not autorestic_status.stat.exists
changed_when: true
become: true