mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2024-11-17 04:09:26 +08:00
Update playbooks
This commit is contained in:
parent
f23a6d3ca8
commit
e64ea06972
4 changed files with 6 additions and 6 deletions
|
@ -9,5 +9,5 @@
|
|||
|
||||
[openwrt]
|
||||
10.0.10.1
|
||||
10.0.10.2
|
||||
10.0.10.3
|
||||
# 10.0.10.2
|
||||
# 10.0.10.3
|
|
@ -90,4 +90,4 @@
|
|||
command: systemctl restart sshd
|
||||
# Restart Docker Containers on Docker Update
|
||||
- name: Restart Docker Containers
|
||||
command: bash /root/scripts/start_services.sh
|
||||
command: tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
# Runs on root user already
|
||||
become: false
|
||||
tasks:
|
||||
- name: Start all services
|
||||
command: bash /root/scripts/start_services.sh
|
||||
- name: Start All Services
|
||||
command: tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
handlers:
|
||||
# Restart Docker Containers on Docker Update
|
||||
- name: Restart Docker Containers
|
||||
command: bash /root/scripts/start_services.sh
|
||||
command: tmux new-session -d -s "start_services" "bash /root/scripts/start_services.sh"
|
||||
|
|
Loading…
Reference in a new issue