usually ansible-pull its used on localhost and not other hosts. If you are
trying to do other host then use regular ansible. Ansible-pull is a
different use case.

On Tue, Aug 14, 2018 at 8:26 AM SUMIT SAHAY <sumitsahay....@gmail.com>
wrote:

> Thanks Jonathan, for your reply.
>
> No, I am not using localhost, I want to run my playbook on ubuntu host
> which I set up in my host file, and the host file is located in
> /home/test/sumit/
>
> How to run this so that it will pick up the host and execute on ubuntu
> remote host.
>
> Looking forward for your reply.
>
> Thanks & Regards
> Sumit Sahay
> 7044112109
>
>
> On Tue, Aug 14, 2018 at 5:17 PM, Jonathan Lozada De La Matta <
> jloza...@redhat.com> wrote:
>
>> what hosts are on your playbook? is it localhost?
>>
>> On Tue, Aug 14, 2018 at 3:07 AM SUMIT SAHAY <sumitsahay....@gmail.com>
>> wrote:
>>
>>> Thanks Balz, for your reply.
>>>
>>> Could you help me with the command for ansible pull, I installed git and
>>> repository and I committed the ansible playbook there now I want to run
>>> this from my localhost server following command I am using but getting
>>> error,
>>>
>>> ansible-pull -U https://repourl.com/git/user_name/git_location -k -i
>>> /home/test/hosts playbook.yml
>>>
>>> getting error saying skipping the hosts.
>>>
>>> Could you please navigate me to the correct command.
>>>
>>> Looking forward for your reply.
>>>
>>> Regards
>>> Sumit Sahay
>>> 7044112109
>>>
>>> On Wednesday, 8 August 2018 22:43:53 UTC+5:30, balz.as...@unibas.ch
>>> wrote:
>>>>
>>>> Hi Sumit
>>>>
>>>> We're using a wrapper around ansible-pull. We use it mainly for clients
>>>> but we've a step-by-step guide you might find helpful:
>>>> https://github.com/ANTS-Framework/ants
>>>>
>>>> Regards
>>>> Balz
>>>>
>>>> Am Mittwoch, 8. August 2018 08:03:45 UTC+2 schrieb SUMIT SAHAY:
>>>>>
>>>>>
>>>>> Hi All,
>>>>>
>>>>> I am trying to setup the ansible pull based on my vm server.
>>>>>
>>>>> Is there any step-wise documentation for this?
>>>>>
>>>>>
>>>>> Regards
>>>>> Sumit Sahay
>>>>> 7044112109
>>>>>
>>>>
>>>>> --
>>> 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 ansible-project+unsubscr...@googlegroups.com.
>>> To post to this group, send email to ansible-project@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/ceb0cea7-7919-45f0-8288-e7ac8341cb57%40googlegroups.com
>>> <https://groups.google.com/d/msgid/ansible-project/ceb0cea7-7919-45f0-8288-e7ac8341cb57%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>>
>> Jonathan lozada de la matta
>>
>> AUTOMATION CONSULTANT - AUTOMATION PRACTICE
>>
>> Red Hat Consulting Services <https://www.redhat.com/>
>>
>> jloza...@redhat.com
>>
>>
>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Ansible Project" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/ansible-project/W9jYFiNta_A/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> ansible-project+unsubscr...@googlegroups.com.
>> To post to this group, send email to ansible-project@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BLARn5QZ8L8SqNO%2BSE-iDO16AnfMEcFcqqnrx%2Be6r4WRQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BLARn5QZ8L8SqNO%2BSE-iDO16AnfMEcFcqqnrx%2Be6r4WRQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Sumit Sahay
> 9353031613
>
> --
> 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 ansible-project+unsubscr...@googlegroups.com.
> To post to this group, send email to ansible-project@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAA1rwCNPCHF6E51s44neoqPDVXit8x53bwQfyngCy5SF3fq8hg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAA1rwCNPCHF6E51s44neoqPDVXit8x53bwQfyngCy5SF3fq8hg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Jonathan lozada de la matta

AUTOMATION CONSULTANT - AUTOMATION PRACTICE

Red Hat Consulting Services <https://www.redhat.com/>

jloza...@redhat.com

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAFYJA%2B%2Bo6ZofJPNTFE-D4B%2BUiibsE1TuRAg0210XN38CuE4rQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to