diff --git a/apt_update_and_upgrade.yml b/apt_update_and_upgrade.yml new file mode 100644 index 0000000..6da2ade --- /dev/null +++ b/apt_update_and_upgrade.yml @@ -0,0 +1,9 @@ +--- +- hosts: all + become: true + tasks: + - name: update and upgrade apt packages + apt: + upgrade: yes + update_cache: yes + cache_valid: 86400