Thank you for the response.  However, I have tried with quotes, without quotes, 
encrypted, decrypted,  hashed, unhashed, it just does not seem to work.

Rene

From: [email protected] <[email protected]> On 
Behalf Of Ivan Labrovic
Sent: December 17, 2020 8:01 AM
To: Ansible Project <[email protected]>
Subject: Re: [ansible-project] Re: Multiple values for ansible connection 
properties

Thanks Racke,

yes i thought about this. This would require me to split the hosts in multiple 
groups (lets say: grp_VMWare, grp_MSAzure, grp_OracleCloud etc)
And that would require some more administration,
Thanks for the tip, this will keep me thinking some more about this suggestion, 
while waiting for other solutions.

Thanks!
Ivan.

Op donderdag 17 december 2020 om 13:50:58 UTC+1 schreef 
[email protected]<mailto:[email protected]>:
On 12/17/20 1:44 PM, Ivan Labrovic wrote:
> some background on why I could use this is: configuring systems pre-deployed 
> on different cloud providers, on one if
> need to start with 'root' to create the ansible user, on the other i dont 
> have root, but it's 'localadmin')
> Now i have build a script around ansible-playbook, to determine on which 
> provides i will be deploying.
> If i could pass both, i would not need this script construction. From ansible 
> perspecitiv, i should not need to care,
> where my vm is residing...
>

Why don't you put this information into group_vars/host_vars in your inventory?

Regards
Racke

> ivan.
> Op donderdag 17 december 2020 om 13:29:18 UTC+1 schreef Ivan Labrovic:
>
> Has anyone heard of providing a second --user/--privatekey to 
> ansible-playbook command, just in case the first
> user/privkey authentication fails?
> Seem to remember something about this in an Ansible session on the RHEl 
> summit last year.
>
> regards,
> Ivan.
>
> --
> 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] <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/221f74da-6669-4a80-98aa-e5fa3c9f4b4bn%40googlegroups.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fansible-project%2f221f74da-6669-4a80-98aa-e5fa3c9f4b4bn%2540googlegroups.com&c=E,1,DbLPIwie9vOD6ZoEajhtcZzQAElOXyoNHRopqeIBrQt92Fu1uolu_-guJEl9ctjsQV-X8H2u-c62rWd8eXnDq5SpO68vFZi3cdkmLg0et7lqmSSRcmHQPfLNJzsZ&typo=1>
> <https://groups.google.com/d/msgid/ansible-project/221f74da-6669-4a80-98aa-e5fa3c9f4b4bn%40googlegroups.com?utm_medium=email&utm_source=footer<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fansible-project%2f221f74da-6669-4a80-98aa-e5fa3c9f4b4bn%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,NUWbOM5F2UlViJi2rjDARoGPffqtGIz3VjEPXQBmC1_FmGDOaBW7NtrSYAraEAgdP-q8igTfCjNOzVJ8gRLCkUz106AM3EsGrQpR62-xTxEtkpc,&typo=1>>.


--
Ecommerce and Linux consulting + Perl and web application programming.
Debian and Sympa administration. Provisioning with Ansible.
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/bf1efe6c-1526-4714-bc04-3ec1d3318c02n%40googlegroups.com<https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fansible-project%2fbf1efe6c-1526-4714-bc04-3ec1d3318c02n%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,n2ihkIAqVAwR61Maqrh3OfWcWG9kG_CwpVBnEJ4c_wRHMTbf4ZkaHESain5r0mL5fmWKSI6oU7n4amR_uCmLdmyjnWQz4bvoAQGnjzAGatlKhhY2LRIYZic,&typo=1>.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/YTXPR0101MB129531D4673EA0DE5C3218DBD8C40%40YTXPR0101MB1295.CANPRD01.PROD.OUTLOOK.COM.

Reply via email to