aboutsummaryrefslogtreecommitdiff
path: root/ansible/playbooks/update_system.yml
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2025-02-16 20:06:17 +0100
committerclyhtsuriva <aimeric@adjutor.xyz>2025-02-16 20:06:17 +0100
commit8af7efa1e03c1d37cf34197249e487348d382d82 (patch)
tree70564ffd883d494c0d0ea69d43e9dcf4edc421a7 /ansible/playbooks/update_system.yml
parentfde2b4f0024c65efbab8cf3029bae6042e99f6da (diff)
ansible: apt_update becomes update_system to handle apt & dnf updates
Using this opportunity to become role based
Diffstat (limited to 'ansible/playbooks/update_system.yml')
-rw-r--r--ansible/playbooks/update_system.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/ansible/playbooks/update_system.yml b/ansible/playbooks/update_system.yml
new file mode 100644
index 0000000..ba3fb84
--- /dev/null
+++ b/ansible/playbooks/update_system.yml
@@ -0,0 +1,7 @@
+---
+- name: Update the server
+ hosts: all
+ become: true
+ roles:
+ - update_system
+...