diff options
Diffstat (limited to 'ansible/playbooks/apt_update.yml')
-rw-r--r-- | ansible/playbooks/apt_update.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/playbooks/apt_update.yml b/ansible/playbooks/apt_update.yml new file mode 100644 index 0000000..2724a30 --- /dev/null +++ b/ansible/playbooks/apt_update.yml @@ -0,0 +1,12 @@ +--- +- name: Update the server + hosts: vps + become: true + tasks: + + - name: Update and upgrade apt packages + ansible.builtin.apt: + update_cache: true + upgrade: true + autoremove: true +... |