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

2021-06-09 Thread Krishna P
Hi, can anyone help me, how to execute ansible playbook on multiple users in the same host. fine the below my inventory file and playbook: Note: it will execute only app2 if i execute the below playbook but i want to execute the playbook on all users *Playbook:* --- - hosts: Environment

[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. > &

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-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