Omit use of tmux in playbooks for more verbose error handling

This commit is contained in:
Keannu Bernasol 2024-11-07 18:54:42 +08:00
parent cbe8d0c2c4
commit 79010ee462
4 changed files with 5 additions and 4 deletions

View file

@ -49,6 +49,7 @@
- socat - socat
- fish - fish
- iperf3 - iperf3
- resolvconf
# Cache is already updated from previous step # Cache is already updated from previous step
update_cache: false update_cache: false
autoremove: true autoremove: true
@ -93,4 +94,4 @@
command: systemctl restart sshd command: systemctl restart sshd
# Restart Docker Containers on Docker Update # Restart Docker Containers on Docker Update
- name: Restart Docker Containers - 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"

View file

@ -5,4 +5,4 @@
become: false become: false
tasks: tasks:
- name: Start Backups - name: Start Backups
command: tmux new-session -d -s "Borg Backups" "bash /root/scripts/backup.sh" command: bash "/root/scripts/backup.sh"

View file

@ -5,4 +5,4 @@
become: false become: false
tasks: tasks:
- name: Start All Services - 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"

View file

@ -23,4 +23,4 @@
handlers: handlers:
# Restart Docker Containers on Docker Update # Restart Docker Containers on Docker Update
- name: Restart Docker Containers - 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"