Bodhi's staging-sync playbook now also uses the openshift_pods var.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2018-05-17 18:37:22 +00:00
parent d7d9dcc07d
commit 005c9e1dee

View file

@ -69,7 +69,7 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- command: oc -n bodhi scale dc/bodhi-web --replicas=2
- command: oc -n bodhi scale dc/bodhi-web --replicas={{ hostvars[groups['bodhi2-stg'][0]]['openshift_pods'] }}
- name: bring staging services up (httpd)
hosts: bodhi2-stg