Re: [ansible-project] become sudo not working for apt module

2024-05-13 Thread Stefan Hornburg (Racke)
On 14/05/2024 04:42, Gregory Machin wrote: Hi I have a number of ubuntu servers that I want to update using ansible via AWX. my current test playbook : ---  - hosts: all    tasks:    - name: Test Connection      ansible.builtin.ping:    - name: Update Cache      become: true      apt:

[ansible-project] become sudo not working for apt module

2024-05-13 Thread Gregory Machin
Hi I have a number of ubuntu servers that I want to update using ansible via AWX. my current test playbook : --- - hosts: all tasks: - name: Test Connection ansible.builtin.ping: - name: Update Cache become: true apt: update_cache: true is not work as