diff --git a/roles/openshift-apps/bodhi/templates/deploymentconfig.yml b/roles/openshift-apps/bodhi/templates/deploymentconfig.yml index fdddb38c1b..0eaa3fb248 100644 --- a/roles/openshift-apps/bodhi/templates/deploymentconfig.yml +++ b/roles/openshift-apps/bodhi/templates/deploymentconfig.yml @@ -8,11 +8,11 @@ items: service: web name: bodhi-web spec: - {% if env == "staging" %} +{% if env == "staging" %} replicas: {{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }} - {% else %} +{% else %} replicas: {{ hostvars[groups['bodhi2'][0]]['openshift_pods'] }} - {% endif %} +{% endif %} selector: deploymentconfig: bodhi-web strategy: