Hi everyone,

Is it possible to use variables in hosts: name, like so:

- name: This does not work
  hosts: "security_group_*{{ cluster_name }}*"
  roles:
    - my-cluster

The variable {{ cluster_name }} is defined in my-cluster variables and is 
generally accessible. Not from the hosts: section though.

Thanks,
Maciej

-- 
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/8ad8d655-bd1a-48aa-9718-9a337afcb06f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to