config/ansible/kube-cluster/cluster-update-reboot.yml
2021-02-11 09:03:17 +10:30

11 lines
198 B
YAML

- hosts: all
become: yes
tasks:
- name: Update and upgrade apt package
become: true
apt:
upgrade: yes
update_cache: yes
cache_valid_time: 86400 #One day