ansible-pull/ansible-daily.yml

7 lines
165 B
YAML

- hosts: localhost
remote_user: root
- name: Update and Upgrade Ubuntu
apt:
upgrade: yes
update_cache: yes
cache_valid_time: 86400 #One day