We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcacfcb commit 5a22065Copy full SHA for 5a22065
ansible/roles/deploy-apigee-proxy/tasks/main.yml
@@ -57,14 +57,14 @@
57
url: "{{ api_uri }}/_ping"
58
return_content: yes
59
register: proxy_ping_response
60
- when: PING
+ when: PING | bool
61
62
- name: set proxy_deployed_revision
63
set_fact:
64
proxy_deployed_revision: "{{ (proxy_ping_response.content | from_json).revision }}"
65
66
67
- name: check correct revision was deployed
68
fail:
69
msg: "Incorrect revision {{ proxy_deployed_revision }}, was expecting {{ revision }}"
70
- when: PING and proxy_deployed_revision != revision
+ when: PING | bool and proxy_deployed_revision != revision
0 commit comments