-u / user: in playbooks now defaults to current user

Various people wanted to share playbooks or scripts between teams and changing this was necessary to make this happen.

This means using "--extra-vars="user=$user"" is pretty much not necessary anymore.

Hopefully not too confusing, or even less confusing.

--Michael

2012/8/11 Michael DeHaan <michael.dehaan@gmail.com>

Various people wanted to share playbooks or scripts between teams and changing this was necessary to make this happen.

This means using “–extra-vars=“user=$user”” is pretty much not necessary anymore.

Hopefully not too confusing, or even less confusing.

Nice, thank you. Does that mean we don’t need user: $user in playbooks either?

dave

2012/8/11 Michael DeHaan <michael.dehaan@gmail.com (mailto:michael.dehaan@gmail.com)>
> Various people wanted to share playbooks or scripts between teams and changing this was necessary to make this happen.
>
> This means using "--extra-vars="user=$user"" is pretty much not necessary anymore.
>
> Hopefully not too confusing, or even less confusing.

Nice, thank you. Does that mean we don't need user: $user in playbooks either?

It does. (That's what I meant with the reference to --extra-vars.)

Sorry, something like ansible_ssh_user (similar to ansible_ssh_port) does not exist. Patches (but not RFEs) would be accepted.

W dniu poniedziałek, 13 sierpnia 2012 15:38:12 UTC+2 użytkownik Michael DeHaan napisał:

Sorry, something like ansible_ssh_user (similar to ansible_ssh_port) does not exist. Patches (but not RFEs) would be accepted.

Sigh, missed this thread. Will have to cook up a patch.

Best regards,
Grzegorz Nosek