That also I have tried, even tried with sudo=yes, become_user=yes,
remote_user=<username>.

Nothing worked out..

On Tue, Jul 23, 2019 at 4:07 PM Dick Visser <[email protected]> wrote:

> I assume you have become=yes?
>
> On Tue, 23 Jul 2019 at 11:46, Dhamodharan D <[email protected]>
> 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].
> > 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/CAL8fbwMdR16SRpdaU9u2mfD9kXxwkyURabCZt-k2q-Wad-et%3DQ%40mail.gmail.com
> .
>


-- 
Thanks & Regards,
Dhamodharan,
Bangalore.
Ph:+91-70220-66663

-- 
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/CAANcgpHh1M4yEtHsjzoy3ab_WGrNtTextqmC5swVc%3DaS15_AQA%40mail.gmail.com.

Reply via email to