"Actually, I noticed that even these repeated settings do not work. It
seems this actually needs to be done at the role level?"

Those settings where you have them are correct.

I'm not sure what "doesn't work" means in your case, you'll have to provide
a bit more info/output there.

Yes, ansible_sudo does appear undocumented, as does the ansible_su boolean
which does the same thing.

Normally something we'd refer to in the "Magic Variables" section at least.

Do you mind filing a ticket about that one?  We can add those in.

On Tue, Sep 16, 2014 at 1:52 PM, Hilco Wijbenga <[email protected]>
wrote:

> On 16 September 2014 10:45, Michael DeHaan <[email protected]> wrote:
> > Generally I consider it an important part of play documentation though
> some
> > of these defaults can be set in ansible.cfg.
>
> Actually, I noticed that even these repeated settings do not work. It
> seems this actually needs to be done at the role level?
>
> > You can also set variables like "ansible_ssh_user" and "ansible_sudo"
> > (boolean) in variables.
>
> Ah, yes, I had actually noticed "remote_user" but "ansible_sudo" seems
> undocumented? At least Google didn't know about it.
>
> --
> 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/CAE1pOi0DFWqZVOEPGaS%3DC2OvvU_HxA8GSTvxOXFvdx2-2CqxPA%40mail.gmail.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/CA%2BnsWgxG-LuJagjD1NtA16TDGGFWQbhZJ3sM9dmkcQ58w9JFaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to