diff --git a/extraconfig/services/openshift-master.yaml b/extraconfig/services/openshift-master.yaml index 44eb18b100..d338d08eed 100644 --- a/extraconfig/services/openshift-master.yaml +++ b/extraconfig/services/openshift-master.yaml @@ -354,13 +354,13 @@ outputs: - include: "{{openshift_prerequisites_playbook_path}}" - {% if tripleo_stack_action == 'UPDATE' and new_master_nodes | count > 0 %} - - include: "{{openshift_master_scaleup_playbook_path}}" - {% endif %} - {% if tripleo_stack_action == 'UPDATE' and has_new_nodes %} + {% if new_master_nodes | count > 0 %} + - include: "{{openshift_master_scaleup_playbook_path}}" + {% else %} - include: "{{openshift_worker_scaleup_playbook_path}}" {% endif %} + {% endif %} {% if tripleo_stack_action == 'UPDATE' and openshift_upgrade %} - include: "{{openshift_upgrade_playbook_path}}"