From 7ac9b0115697e40793e4ca86e78857cab34e1cce Mon Sep 17 00:00:00 2001 From: Danny de Kooker Date: Thu, 6 Jun 2024 17:51:55 +0200 Subject: [PATCH] remove become-method --- Update/upd-apt.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Update/upd-apt.yaml b/Update/upd-apt.yaml index 5148d1a..1d663b5 100644 --- a/Update/upd-apt.yaml +++ b/Update/upd-apt.yaml @@ -8,21 +8,18 @@ - name: Update packages with apt when: ansible_pkg_mgr == 'apt' become: true - become-method: sudo ansible.builtin.apt: update_cache: true - name: Upgrade packages with apt when: ansible_pkg_mgr == 'apt' become: true - become-method: sudo ansible.builtin.apt: upgrade: dist - name: Update packages with yum when: ansible_pkg_mgr == 'yum' become: true - become-method: sudo ansible.builtin.yum: name: '*' state: latest # noqa: package-latest @@ -30,7 +27,6 @@ - name: Upgrade packages with yum when: ansible_pkg_mgr == 'yum' become: true - become-method: sudo ansible.builtin.yum: name: '*' state: latest # noqa: package-latest