mirror of
https://github.com/lemeow125/ansible-playbooks.git
synced 2025-08-03 01:53:15 +08:00
Update folder structure
This commit is contained in:
parent
ddf67b68a7
commit
2250c1c093
8 changed files with 12 additions and 11 deletions
14
roles/tasks/debian/update.yml
Normal file
14
roles/tasks/debian/update.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue