On 05.01.17 15:10 Nicolas G wrote:
> - hosts: "{{ hosts | default('web-'dc) }}"

Try this:

- hosts: "{{ hosts | default([ [ 'web-', dc ] | join ] ) }}"
or
- hosts: "{{ hosts | default([ 'web-', dc ] | join ) }}"

Not sure if you need two sets of square brackets.

Johannes

-- 
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/914a07d6-492f-bab0-86f9-a1a254a883ef%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to