https://github.com/chris7444/Docker-Synergy this is what I am trying to use.

On Mon, Aug 13, 2018, 10:43 PM Jonathan Lozada De La Matta <
[email protected]> wrote:

> how does your directory structure looks like? are you using a role? you
> can add find_ucp.yml under tasks/ and when you do the include from main.yml
> or another .yml in the same directory it should grab it easier.
>
> On Mon, Aug 13, 2018 at 1:10 PM OM Nachiketa <[email protected]>
> wrote:
>
>> this line calls the task include_tasks: includes/find_ucp.yml
>> ping_servers= "{{ groups.ucp }}"
>>
>> - name: check
>>   uri:
>>     url: "https://{{ item }}.{{ domain_name }}/auth/login"
>>     headers:
>>       Content-Type: application/json
>>     method: POST
>>     status_code: 200,500
>>     body_format: json
>>     validate_certs: no
>>     body: '{"username":"{{ ucp_username }}","password":"{{ ucp_password
>> }}"}'
>>   delegate_to: localhost
>>   register: checks
>>   failed_when: false
>>   changed_when: false
>>   when: checks.status !=200 and checks.status != 500
>>   with_items: "{{ ping_servers }}"
>>   no_log: yes
>>
>>
>>
>> On Mon, Aug 13, 2018 at 10:26 PM Jonathan Lozada De La Matta <
>> [email protected]> wrote:
>>
>>> can you paste the tasks? hard to tell with just the errors.
>>>
>>> On Mon, Aug 13, 2018 at 12:55 PM OM Nachiketa <[email protected]>
>>> wrote:
>>>
>>>> I am trying to run some tasks with variable but running in this error
>>>> "FAILED! => {"reason": "Unable to retrieve file contents\nCould not find or
>>>> access 'path to my .yml ' on the Ansible Controller.\nIf you are using a
>>>> module and expect the file to exist on the remote, see the remote_src
>>>> option"}
>>>>
>>>>
>>>> the task is to check and verify a response.
>>>>
>>>> --
>>>> 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 post to this group, send email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/ansible-project/b208da38-dffb-42f2-a2f1-7a62f0975c6c%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/ansible-project/b208da38-dffb-42f2-a2f1-7a62f0975c6c%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/>
>>>
>>> [email protected]
>>>
>>>
>>>
>>>
>>> --
>>> 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 post to this group, send email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/ansible-project/CAFYJA%2B%2BnLpqpak_sKBs-oiPJnxTNmYYEE2Ej_W35e8x%3D1Dr2-w%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/ansible-project/CAFYJA%2B%2BnLpqpak_sKBs-oiPJnxTNmYYEE2Ej_W35e8x%3D1Dr2-w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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 post to this group, send email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CACAHGsBVH9f0G6FFrg1oBbMLn8oCLxQF8Yz48B5C%2BxReF%2BzHGg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CACAHGsBVH9f0G6FFrg1oBbMLn8oCLxQF8Yz48B5C%2BxReF%2BzHGg%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/>
>
> [email protected]
>
>
>
>
> --
> 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 post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BLLTq1FaozrbbxQz4yprFUKWXA82tYx9N8Q16LonNmC8w%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAFYJA%2BLLTq1FaozrbbxQz4yprFUKWXA82tYx9N8Q16LonNmC8w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CACAHGsA366JJ9qc297QDZSSjiNcJ%3D%3DURPk%2BDKiJKB8j7HKLL7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to