This reverts commit 9c01d875f3
.
This is very confusing and messy.. but it's documented.
`ansible_become_*` variables actually take priority and override all `become_*`
variables set at the task level.
As such, using `ansible_become=true ansible_become_user=root` in
`inventory/hosts` causes issues because tasks that specify
`become: OTHER_USER` will be forced to run as `root` due to
`ansible_become_user`.
pull/3250/head
parent
ffd5829476
commit
b5ec8f83b1
Loading…
Reference in new issue