mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2024-11-16 19:59:26 +08:00
Omit use of tmux in playbooks for more verbose error handling
This commit is contained in:
parent
cbe8d0c2c4
commit
79010ee462
4 changed files with 5 additions and 4 deletions
|
@ -49,6 +49,7 @@
|
|||
- socat
|
||||
- fish
|
||||
- iperf3
|
||||
- resolvconf
|
||||
# Cache is already updated from previous step
|
||||
update_cache: false
|
||||
autoremove: true
|
||||
|
@ -93,4 +94,4 @@
|
|||
command: systemctl restart sshd
|
||||
# Restart Docker Containers on Docker Update
|
||||
- name: Restart Docker Containers
|
||||
command: tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"
|
||||
command: bash "/root/scripts/start_services.sh"
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
become: false
|
||||
tasks:
|
||||
- name: Start Backups
|
||||
command: tmux new-session -d -s "Borg Backups" "bash /root/scripts/backup.sh"
|
||||
command: bash "/root/scripts/backup.sh"
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
become: false
|
||||
tasks:
|
||||
- name: Start All Services
|
||||
command: tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"
|
||||
command: bash "/root/scripts/start_services.sh"
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
handlers:
|
||||
# Restart Docker Containers on Docker Update
|
||||
- name: Restart Docker Containers
|
||||
command: tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"
|
||||
command: bash "/root/scripts/start_services.sh"
|
||||
|
|
Loading…
Reference in a new issue