On 8/21/19 1:35 PM, Karther wrote: > Hey Mark, > > Ok for this issue, but my user of my environnement is different of my > ansible_user of my inventory_hostname. > > I have *my inventory host* with this content : > > my_host_1 ansible_user=wildfly > my_host_1 ansible_user=toto > > Ansible is my user of my environnement .... > > Thanks for your help community ansible !! :)
At any rate you can't use the same host name twice in your inventory file.
Regards
Racke
>
> Regards,
>
> Le mercredi 21 août 2019 10:44:47 UTC+2, Mark Anthony Garcia a écrit :
>
> For me I use the local users from the ansible controllers by calling the
> "{{ lookup('env','USER') }}".
>
> On Tuesday, August 20, 2019 at 5:00:33 PM UTC+2, Karther wrote:
>
> Hey,
>
> I want to know if possible use a lot of user for ansible.
>
> Exemple, if i use *ansible_user=user1, user2*
>
> because i want to use *serial: 1*
>
> And i want that ansible use firt user1 and secondaly user2
>
> If possible or not please ??
>
> Regards,
>
> --
> 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/cfedbf4f-adc1-4b50-82a8-8c12233549f4%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/cfedbf4f-adc1-4b50-82a8-8c12233549f4%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/e3deb643-5216-08ef-bc98-2f8689e2f890%40linuxia.de.
signature.asc
Description: OpenPGP digital signature
