[Queens only] Wrong jinja filter for ovndbs and manila_share _pcs_res facts.

The ovndbs_pcs_res and manila_share_pcs_res variable stores
a boolean value as the succeeded filter is being used when
creating the facts.
Therefore, the filter in this condition should be bool instead
of succeeded.

Change-Id: Ia1b3809a8daf2c6cbb54f9d302b880c6ddb41d45
Closes-Bug: #1860328
This commit is contained in:
Jose Luis Franco Arza 2020-01-20 12:08:56 +01:00
parent 48089c75da
commit c13d3fdd02
2 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ outputs:
- step|int == 1
- manila_share_containerized|bool
- is_bootstrap_node
- manila_share_pcs_res|succeeded
- manila_share_pcs_res|bool
block:
- name: Disable the Manila-Share cluster resource before container upgrade
pacemaker_resource:

View File

@ -350,7 +350,7 @@ outputs:
- step|int == 1
- ovn_dbs_containerized|bool
- is_bootstrap_node
- ovndbs_pcs_res|succeeded
- ovndbs_pcs_res|bool
block: *ovn_dbs_update_bundle_with_new_image
- name: Retag the pacemaker image if containerized
when: