Hello Brian, Yes it works , Issue was my role was picking the values from roles directory instead from current directory hence despite making changes at current file become was not working.
On Tuesday, May 14, 2024 at 8:12:07 PM UTC+5:30 Brian Coca wrote: > We have tests for this and i just tested manually, become: true on a > task does work. Tried with your task (supplying my own values for the > vars) and it works the same, putting it on the task, the play, a > block, role or command line. The only way i get it to 'not work' is > setting ansible_become: false , but that makes them ALL not work, not > just the task level become. > > I cannot tell from the email as it breaks formatting, but my guess > would be that it is set to the task. > > -- > ---------- > Brian Coca (he/him/yo) > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fe433d00-869f-4e9d-b368-34680a8ff041n%40googlegroups.com.