Re: [ansible-project] Re: Execute playbook on multiple users in the same host

2021-06-10 Thread Brian Coca
My example had only one group, no clue what you are doing or how the diff group membership is set up, but it clearly seems they are not matching. -- -- Brian Coca -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe

Re: [ansible-project] Re: Execute playbook on multiple users in the same host

2021-06-10 Thread Krishna P
Hi Brian, I just tried once again and am now able to connect all the hosts but getting below error. I have created group variables for each user but it's not working when I execute the playbook. can you please suggest to me how I can achieve this? *Error Screenshot:* TASK [t24-app : Download R21

Re: [ansible-project] Re: Execute playbook on multiple users in the same host

2021-06-10 Thread Brian Coca
i cannot read the error, use -vvv and post TEXT please. -- -- Brian Coca -- 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

Re: [ansible-project] Re: Execute playbook on multiple users in the same host

2021-06-09 Thread Krishna P
Hi Brian, Thanks, I tried the same and got the below error when I executed the playbook. *Error Screenshot:* [image: image.png] I am able to login all users from an ansible control machine using ssh passwordless authentication. [image: image.png] I have created a group level variable for each

Re: [ansible-project] Re: Execute playbook on multiple users in the same host

2021-06-09 Thread Brian Coca
app1 app2 and app3 are groups, not hosts, you have a single host in all 4 groups, 10.0.0.1 and only one ansible_user/ansible_connection value (since they are squashed to the single host) What you probably want is the following: [Environment] app1 ansbile_host=10.0.01 ansible_user=user1 ... app2

[ansible-project] Re: Execute playbook on multiple users in the same host

2021-06-09 Thread Krishna P
HI, small correction in the previous email, Playbook is executing in app3 alone and it's ignoring other 2 On Wednesday, June 9, 2021 at 7:17:19 PM UTC+5:30 Krishna P wrote: > Hi, > > can anyone help me, how to execute ansible playbook on multiple users in > the same host. > > fine the below