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
|
||||
autoremove: true
|
||||
state: latest
|
||||
notify: Restart Docker Containers
|
||||
- name: Update all packages
|
||||
apt:
|
||||
name: "*"
|
||||
|
@ -19,8 +18,5 @@
|
|||
state: latest
|
||||
- name: Update ACME
|
||||
command: /root/.acme.sh/acme.sh --upgrade --auto-upgrade
|
||||
|
||||
handlers:
|
||||
# Restart Docker Containers on Docker Update
|
||||
- name: Restart Docker Containers
|
||||
- name: Restart All Services
|
||||
command: bash "/root/scripts/start_services.sh"
|
||||
|
|
Loading…
Reference in a new issue