Lets say I have a playbook with the following code

  - name: Check port
    command: nc -z -v {{asdf_servers}} 8089
    ignore_errors: true

in the group var

asdf_servers: localhost

Is there a way to use the entire host inventory file as a variable in the 
play book? Or can I enter multiple values for the asdf_servers variable, 
separated by , or ; ?

-- 
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/c4b73482-5f5a-42fa-b503-a3b8f53b6d2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to