bodhi: Fix some more group names with dashes.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
2c63d5cdd8
commit
19291eb169
4 changed files with 6 additions and 6 deletions
|
@ -71,7 +71,7 @@
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
|
- command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2_stg'][0]]['openshift_pods'] }}
|
||||||
|
|
||||||
- name: bring staging services up (httpd)
|
- name: bring staging services up (httpd)
|
||||||
hosts: bodhi2_stg
|
hosts: bodhi2_stg
|
||||||
|
|
|
@ -149,7 +149,7 @@
|
||||||
command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2'][0]]['openshift_pods'] }}
|
command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2'][0]]['openshift_pods'] }}
|
||||||
when: env != "staging"
|
when: env != "staging"
|
||||||
- name: Scale up pods
|
- name: Scale up pods
|
||||||
command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
|
command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2_stg'][0]]['openshift_pods'] }}
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
||||||
post_tasks:
|
post_tasks:
|
||||||
|
|
|
@ -132,8 +132,8 @@
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
# Add one of these for production when we deploy 4.0.0
|
# Add one of these for production when we deploy 4.0.0
|
||||||
- name: Scale up pods
|
- name: Scale up pods
|
||||||
command: oc -n bodhi scale dc/bodhi-consumer --replicas={{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
|
command: oc -n bodhi scale dc/bodhi-consumer --replicas={{ hostvars[groups['bodhi2_stg'][0]]['openshift_pods'] }}
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
- name: Scale up pods
|
- name: Scale up pods
|
||||||
command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
|
command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2_stg'][0]]['openshift_pods'] }}
|
||||||
when: env == "staging"
|
when: env == "staging"
|
||||||
|
|
|
@ -9,7 +9,7 @@ items:
|
||||||
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 %}
|
||||||
|
@ -150,7 +150,7 @@ items:
|
||||||
name: bodhi-consumer
|
name: bodhi-consumer
|
||||||
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 %}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue