diff options
| author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-01-31 16:56:39 +0100 |
|---|---|---|
| committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-01-31 16:56:39 +0100 |
| commit | f1cb97161674b6be4a1b3045247f041abc9b951b (patch) | |
| tree | 0626c92e62b352d7ac23856538fdcdb644150ff9 /ansible/playbooks/apt_update.yml | |
| parent | 47aa1f63736103deb23bab13bc62d593902a168b (diff) | |
| download | homelab-iac-f1cb97161674b6be4a1b3045247f041abc9b951b.tar.gz homelab-iac-f1cb97161674b6be4a1b3045247f041abc9b951b.tar.bz2 homelab-iac-f1cb97161674b6be4a1b3045247f041abc9b951b.zip | |
ansible: moving ansible content from scripts repo to here
Diffstat (limited to '')
| -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 +... |
