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