One more thing i don't want to use gather_facts: true

On Sunday, April 14, 2019 at 9:34:45 AM UTC+5:30, Kunalsing Thakur wrote:
>
> - hosts: test.example.com, test1.example.com
>   gather_facts: false
>   tasks:
>   - name: checking uptime for {{ ansible_hostname }}
>     command: uptime
>     when: ( "slave" in uriresult.content )
>
>

-- 
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/d2cc2712-41fb-4a9b-a28c-58316fae81f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to