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/software/tasks
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue