mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2024-11-16 19:59:26 +08:00
Update playbooks
This commit is contained in:
parent
2250c1c093
commit
46250f9a99
2 changed files with 8 additions and 1 deletions
8
roles/tasks/debian/restart_services.yml
Normal file
8
roles/tasks/debian/restart_services.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
- hosts:
|
||||
- debian
|
||||
# Runs on root user already
|
||||
become: false
|
||||
tasks:
|
||||
- name: Restart all services
|
||||
command: bash /root/scripts/start_services.sh
|
|
@ -9,6 +9,5 @@
|
|||
update_cache: true
|
||||
autoremove: true
|
||||
state: latest
|
||||
when: ansible_distribution in ["Debian"]
|
||||
- name: Update ACME
|
||||
command: /root/.acme.sh/acme.sh --upgrade --auto-upgrade
|
||||
|
|
Loading…
Reference in a new issue