how do I properly set ANSIBLE_BECOME_PASS ?

Hello! Sorry to be so lame. What combination of environment vars do I need to set in order to not get prompted for a SUDO password?!

I’ve tried setting ANSIBLE_BECOME_PASS and ANSIBLE_ASK_BECOME_PASS=False but I still get prompted . …

Thanks,
Guy

Hello! Sorry to be so lame. What combination of environment vars do I
need to set in order to not get prompted for a SUDO password?!

I've tried setting ANSIBLE_BECOME_PASS and ANSIBLE_ASK_BECOME_PASS=False
but I still get prompted . ..

ansible-config dump --only-changed

Thanks, but that didn’t exactly help. I’m not able to figure out what I’m missing . . . any other thoughts? Thanks again!!!
here’s the output from ‘–only-changed’:

DEFAULT_BECOME(/Users/matz/Code/schransible/ansible.cfg) = True
DEFAULT_VAULT_PASSWORD_FILE(/Users/matz/Code/schransible/ansible.cfg) = /Users/matz/.vault_pw
HOST_KEY_CHECKING(/Users/matz/Code/schransible/ansible.cfg) = False

Thanks, but that didn't exactly help. I'm not able to figure out what I'm
missing . . . any other thoughts? Thanks again!!!
here's the output from '--only-changed':

DEFAULT_BECOME(/Users/matz/Code/schransible/ansible.cfg) = True
DEFAULT_VAULT_PASSWORD_FILE(/Users/matz/Code/schransible/ansible.cfg) =
/Users/matz/.vault_pw
HOST_KEY_CHECKING(/Users/matz/Code/schransible/ansible.cfg) = False

There seems to be no environment variable for the become password. You can make your own, though:
export ANSIBLE_BECOME_PASSWORD=mypassword

then in your ansible variables, set:
ansible_become_password: "{{ lookup('env', 'ANSIBLE_BECOME_PASSWORD') }}"

V/r,
James Cassell

YAY!!