proxmox-ping/apt_update_and_upgrade.yml

10 lines
160 B
YAML

---
- hosts: all
become: true
tasks:
- name: update and upgrade apt packages
apt:
upgrade: yes
update_cache: yes
cache_valid: 86400