aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/update_adjutor.yml
diff options
context:
space:
mode:
authorclyhtsuriva <aimeric@adjutor.xyz>2023-06-12 21:51:38 +0200
committerclyhtsuriva <aimeric@adjutor.xyz>2023-06-12 21:51:38 +0200
commit16e15668738aca1cc67dcfa74618199d0527d605 (patch)
tree9d806c31eebac52086c56fad56fd1e8418bdb457 /ansible/update_adjutor.yml
parent1baa505464486a9023b5b80f04bba3582e76e296 (diff)
downloadscripts-16e15668738aca1cc67dcfa74618199d0527d605.tar.gz
scripts-16e15668738aca1cc67dcfa74618199d0527d605.tar.bz2
scripts-16e15668738aca1cc67dcfa74618199d0527d605.zip
Ansible playbooks, now, lint compliant
Diffstat (limited to '')
-rw-r--r--ansible/update_adjutor.yml20
1 files changed, 11 insertions, 9 deletions
diff --git a/ansible/update_adjutor.yml b/ansible/update_adjutor.yml
index 562a083..2724a30 100644
--- a/ansible/update_adjutor.yml
+++ b/ansible/update_adjutor.yml
@@ -1,10 +1,12 @@
---
- - name: Update the server
- hosts: vps
- become: yes
- tasks:
- - name : Update and upgrade apt packages
- apt:
- update_cache: yes
- upgrade: yes
- autoremove: yes
+- 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
+...