Make openshift-master service idempotent
The openshift-master service will fail any time it is used with a stack update. This is because the openshift_upgrade var is not defined, but is checked whenever tripleo_stack_action == 'UPDATE'. This patch adds a check for openshift_upgrade being defined before checking if it is True. Closes-Bug: 1794824 Change-Id: I3a598724154a3242b777eefed9304300c45d8c29
This commit is contained in:
parent
8caaee30a9
commit
d295cd94b8
@ -362,7 +362,7 @@ outputs:
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if tripleo_stack_action == 'UPDATE' and openshift_upgrade %}
|
||||
{% if tripleo_stack_action == 'UPDATE' and openshift_upgrade is defined and openshift_upgrade %}
|
||||
- include: "{{openshift_upgrade_playbook_path}}"
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user