Hello,

strange output comes to my ansible console, but the task works as I 
expected?

- name: WildFly copy listed wars to server vm1
  copy: src={{ item }} dest=/tmp/ mode=0640 owner=wildfly group=wildfly
  when:
        - ansible_default_ipv4.macaddress == "{{ 
wildfly_vm1_server_macaddress }}"
  with_fileglob:
        - /tmp/wars/xxx.war
        - /tmp/wars/bbb.war

 [WARNING]: when statements should not include jinja2 templating delimiters 
such as {{ }} or {% %}. Found: ansible_default_ipv4.macaddress ==
"{{ wildfly_vm1_server_macaddress }}"

Thanks!


-- 
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/c8dc81f5-31a0-44df-b90b-c9b8b2626226%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to