YAY!!

On Wed, May 1, 2019 at 5:04 PM James Cassell <[email protected]>
wrote:

> 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
>
>
> > On Wed, May 1, 2019 at 3:06 PM James Cassell <
> [email protected]>
> > wrote:
> >
> > > On Wed, May 1, 2019, at 2:55 PM, Guy Matz wrote:
> > > > 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,
> > > > Guy
> > > >
> > >
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/6f32a2ce-4b3c-4179-b26d-f76720ae9d6e%40www.fastmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CABnTgtXojdaujE3XSwEnL7SYmhw5zhsfQVVEhzHzTrf4JQXnFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to