They are not the same, but they are related, 'ansible_become_user' is a 'connection variable' which has higher precedence than 'become_user' which is a playbook keyword.
The former is meant to be specific to a host/group of hosts to provide a way to deal with heterogeneous environments, the latter is a way to make play/task specific usage and expected to work in more homogeneous environments. -- ---------- Brian Coca -- 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 post to this group, send email to email@example.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CACVha7chGXzWbsVFt4qMt-NcTgHzvkf8BUEyAh1S3E3D6EedqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.