ansible-playbooks/roles/tasks/debian/update.yml

14 lines
332 B
YAML

---
- hosts:
- debian
# Runs on root user already
become: false
tasks:
- name: Update all packages
apt:
update_cache: true
autoremove: true
state: latest
when: ansible_distribution in ["Debian"]
- name: Update ACME
command: /root/.acme.sh/acme.sh --upgrade --auto-upgrade