That also I have tried, even tried with sudo=yes, become_user=yes, remote_user=<username>.
Nothing worked out.. On Tuesday, July 23, 2019 at 4:07:29 PM UTC+5:30, Dick Visser wrote: > > I assume you have become=yes? > > On Tue, 23 Jul 2019 at 11:46, Dhamodharan D <[email protected] > <javascript:>> wrote: > > > > Hi Dick, > > > > Thanks for your revert, but I dont have any other apt operation running > on my machine. Its a fresh machine and just configured for ansible > operation and tried apache configuration in my ansible node. > > > > On Tuesday, July 23, 2019 at 3:08:25 PM UTC+5:30, Dick Visser wrote: > >> > >> This usually happens when there is another apt operation going on. > >> I sometimes have this if I spin up an instance from an image that is a > >> bit old and it has to download a lot of security updates. > >> > >> Dick > >> > >> > >> On Tue, 23 Jul 2019 at 11:29, Dhamodharan D <[email protected]> > wrote: > >> > > >> > Hi All, > >> > > >> > I have configured ansible properly with 1 master and 1 node machine. > Have configured the /etc/ansible/hosts file with > >> > > >> > [webservers] > >> > 172.31.xx.xx ansible_ssh_user=ansibleuser ansible_ssh_pass=passwd. > >> > > >> > and have written my playbook for installing apache webserver in node > machine. > >> > > >> > > >> > After execting my playbook, I am getting this error. > >> > > >> > Note: When I execute the same playbook on hosts: localhost. its > working fine. > >> > > >> > Can somone help me to fix the issue. > >> > > >> > Thanks. > >> > > >> > Regards, > >> > Dhamodharan. > >> > > >> > -- > >> > 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/634ce19b-5ae3-475d-870b-24338f3882cd%40googlegroups.com. > > > >> > >> > >> > >> -- > >> Dick Visser > >> Trust & Identity Service Operations Manager > >> GÉANT > > > > -- > > 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] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/87976546-f30b-407f-b6e7-c294e06f9447%40googlegroups.com. > > > > > > -- > Dick Visser > Trust & Identity Service Operations Manager > GÉANT > -- 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/5804cec4-b251-457e-938d-a9f7fce9364d%40googlegroups.com.
