RES: [ansible-project] Hosts with multiple users.

2019-02-14 Thread Eduardo Nunes Pereira
ansible_user=admin ansible_ssh_pass=xxx ansible_user=enunes ansible_ssh_pass= ansible_user=vitait ansible_ssh_pass= Eduardo Nunes De: Jon Spriggs Enviado:Tuesday, February 12, 2019 6:23 PM Para: ansible-project@googlegroups.com Assunto: Re: [ansible-project] Hosts with multiple users. Hi

Re: [ansible-project] Hosts with multiple users.

2019-02-12 Thread Jon Spriggs
Hi Eduardo, Ansible tends to be relatively prescriptive - you need to specify the username, or you'd need to specify multiple "host" entries with each of the usernames. You could perform a "simple" action (like "ping" or "setup") and let it stop processing hosts that it doesn't get a response

[ansible-project] Hosts with multiple users.

2019-02-12 Thread Eduardo Nunes Pereira
Someone could help me with this case where I have multiple hosts and for these hosts I do not know which exact user but I have a list with some possible possible users. inside the hosts file I create the group: vars but I can only put a single user. -- You received this message because you