Annnnd one more.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2018-05-17 17:58:03 +00:00
parent dbfae1d065
commit 47056fbb9a

View file

@ -9,9 +9,9 @@ items:
name: bodhi-web
spec:
{% if env == "staging" %}
replicas: {{ groupvars['bodhi2-stg']['openshift_pods'] }}
replicas: {{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
{% else %}
replicas: {{ groupvars['bodhi2']['openshift_pods'] }}
replicas: {{ hostvars[groups['bodhi2'][0]]['openshift_pods'] }}
{% endif %}
selector:
deploymentconfig: bodhi-web