Hi
Earlier we were using Ansible 2.0.1 where playbooks were running
fine. Now upgraded to Ansible 2.1.1. Seeing issues with until module.
- name: Copy the file
get_url:
headers: "{{ headers }}"
url: "{{ asset_repo_url }}/{{ file_path }}"
dest: "{{ file_dest }}"
checksum: md5:{{ file_md5 }}
register: get_url_result
until: "'OK' in get_url_result.msg or 'file already exists' in
get_url_result.msg"
ignore_errors: true
In this if until command is commented, then it runs fine. Can you please
let me know how it should be used in Ansible 2.1.1 version.
Many thanks
Regards
Deepa
--
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/d109f887-41c3-4218-894b-730b62f56878%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.