[web:children]
web-eu-west
web-us-east
[eu:vars]
dc=eu-west
[eu:children]
web-eu-west
[us:vars]
dc=us-east
[us:children]
web-us-east
-- hosts: "{{ hosts | default('web') }}"
- hosts: "{{ hosts | default('web-'dc) }}"
ERROR! template error while templating string: expected token ',', got 'dc'. String: {{ hosts | default('web-'dc) }}
- hosts: "{{ hosts | default('bid-'+ dc) }}"
ERROR! the field 'hosts' has an invalid value, which appears to include a variable that is undefined. The error was: 'dc' is undefined
--
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+unsubscribe@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/1a96a93f-11a3-485a-be73-58beeb046c6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1a96a93f-11a3-485a-be73-58beeb046c6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.