On Wed, May 1, 2019, at 4:27 PM, Guy Matz wrote:
> 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