ansible-playbooks/update.yml

13 lines
276 B
YAML
Raw Normal View History

2024-10-25 17:35:21 +08:00
---
- hosts: all
# Runs on root user already
become: false
tasks:
- name: Update all packages
apt:
update_cache: true
autoremove: true
state: latest
- name: Update ACME
command: /root/.acme.sh/acme.sh --upgrade --auto-upgrade