Update playbooks

This commit is contained in:
Keannu Bernasol 2024-10-28 18:32:23 +08:00
parent 2250c1c093
commit 46250f9a99
2 changed files with 8 additions and 1 deletions

View 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

View file

@ -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