Remove double quotes in the "when" Ansible conditional.

Change-Id: I677075012a948c7c32959680608255eff919b8d4
This commit is contained in:
Carlos Camacho 2017-03-06 15:44:13 +01:00
parent 4b1ea2487e
commit 3bbf935148
4 changed files with 4 additions and 4 deletions

View File

@ -167,7 +167,7 @@ outputs:
- name: Stop cinder_api service (running under httpd)
tags: step1
service: name=httpd state=stopped
when: "cinder_apache.rc == 0"
when: cinder_apache.rc == 0
- name: Stop and disable cinder_api service (pre-upgrade not under httpd)
tags: step1
when: cinder_api_enabled.rc == 0

View File

@ -130,7 +130,7 @@ outputs:
- name: Stop heat_api_cfn service (running under httpd)
tags: step1
service: name=httpd state=stopped
when: "heat_api_cfn_apache.rc == 0"
when: heat_api_cfn_apache.rc == 0
- name: Stop and disable heat_api_cfn service (pre-upgrade not under httpd)
tags: step1
when: heat_api_cfn_apache.rc == 0

View File

@ -114,7 +114,7 @@ outputs:
- name: Stop heat_api_cloudwatch service (running under httpd)
tags: step1
service: name=httpd state=stopped
when: "heat_api_cloudwatch_apache.rc == 0"
when: heat_api_cloudwatch_apache.rc == 0
- name: Stop and disable heat_api_cloudwatch service (pre-upgrade not under httpd)
tags: step1
when: heat_api_cloudwatch_enabled.rc == 0

View File

@ -130,7 +130,7 @@ outputs:
- name: Stop heat_api service (running under httpd)
tags: step1
service: name=httpd state=stopped
when: "heat_api_apache.rc == 0"
when: heat_api_apache.rc == 0
- name: Stop and disable heat_api service (pre-upgrade not under httpd)
tags: step1
when: heat_api_enabled.rc == 0