Do not indent Jinja if statements in YAML.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
47056fbb9a
commit
70ad2456f0
1 changed files with 3 additions and 3 deletions
|
@ -8,11 +8,11 @@ items:
|
||||||
service: web
|
service: web
|
||||||
name: bodhi-web
|
name: bodhi-web
|
||||||
spec:
|
spec:
|
||||||
{% if env == "staging" %}
|
{% if env == "staging" %}
|
||||||
replicas: {{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
|
replicas: {{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
|
||||||
{% else %}
|
{% else %}
|
||||||
replicas: {{ hostvars[groups['bodhi2'][0]]['openshift_pods'] }}
|
replicas: {{ hostvars[groups['bodhi2'][0]]['openshift_pods'] }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
selector:
|
selector:
|
||||||
deploymentconfig: bodhi-web
|
deploymentconfig: bodhi-web
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue