From d25e22662b1195e92fdb6c12e342e656fe34ea9f Mon Sep 17 00:00:00 2001 From: stephane Gratias Date: Mon, 19 Jun 2023 22:40:47 +0200 Subject: [PATCH] [1112799] Fucking syntax --- playbook.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/playbook.yml b/playbook.yml index 9808c69..d4b7d60 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,11 +1,8 @@ --- -- name: Mise à jour et mise à niveau d'Ubuntu - hosts: all +- hosts: all become: true - become_user: stephane tasks: - - name: Update all packages to their latest version - ansible.builtin.apt: - name: "*" - state: latest - update_cache: true \ No newline at end of file + - name: Update apt packages + apt: + upgrade: true + update_cache: true