mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2025-01-18 18:33:03 +08:00
Rework update playbook
This commit is contained in:
parent
e304e5af8b
commit
9cdf61ff0b
1 changed files with 1 additions and 5 deletions
|
@ -10,7 +10,6 @@
|
||||||
update_cache: true
|
update_cache: true
|
||||||
autoremove: true
|
autoremove: true
|
||||||
state: latest
|
state: latest
|
||||||
notify: Restart Docker Containers
|
|
||||||
- name: Update all packages
|
- name: Update all packages
|
||||||
apt:
|
apt:
|
||||||
name: "*"
|
name: "*"
|
||||||
|
@ -19,8 +18,5 @@
|
||||||
state: latest
|
state: latest
|
||||||
- name: Update ACME
|
- name: Update ACME
|
||||||
command: /root/.acme.sh/acme.sh --upgrade --auto-upgrade
|
command: /root/.acme.sh/acme.sh --upgrade --auto-upgrade
|
||||||
|
- name: Restart All Services
|
||||||
handlers:
|
|
||||||
# Restart Docker Containers on Docker Update
|
|
||||||
- name: Restart Docker Containers
|
|
||||||
command: bash "/root/scripts/start_services.sh"
|
command: bash "/root/scripts/start_services.sh"
|
||||||
|
|
Loading…
Reference in a new issue