FYI, become is independent of modules, it wraps module execution so
modules do not need to enable/support it. Connection plugins on the
other hand can affect how become works, in the case of local, windows
and networking appliances.
--
--
Brian Coca (he/him/yo)
--
You received this
Have you tried a ps on the host you are trying to upgrade to see if an apt
command is already running? I've run into it before where an auto update
is running, so it has the lock file already in place.
--john
On Mon, May 13, 2024, 10:42 PM Gregory Machin wrote:
> Hi
>
> I have a number of
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:
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