In ansible 1.0, I can use $foo in with_items. For example,
   with_items:
    - $404_error_page
    - $503_error_page
    - $403_error_page
Ansible 1.0 works well. It can find the variable and replace the value.

In Ansible 1.4, I try to use {{ foo }} or "{{ foo }}", but both are wrong.

Case1, Syntax Error.
   with_items:
    - {{ 404_error_page }}
    - {{ 503_error_page }}
    - {{ 403_error_page }}

Case2, ansible would not find the variable.
   with_items:
    - "{{ 404_error_page }}"
    - "{{ 503_error_page }}"
    - "{{ 403_error_page }}"

Who knows how to define with_items by variables in ansible 1.4?

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to