Replacing bodhi2_openshift_pods with hardcoded values as the var is not defined anywhere, and it seems to be hardcoded elsewhere.

This commit is contained in:
Adam Saleh 2021-05-08 10:48:58 +02:00
parent 71b10befce
commit dfd5d17e3a

View file

@ -76,9 +76,9 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- command: oc -n bodhi scale dc/bodhi-web --replicas={{ bodhi2_openshift_pods }}
- command: oc -n bodhi scale dc/bodhi-consumer --replicas={{ bodhi2_openshift_pods }}
- command: oc -n bodhi scale dc/bodhi-celery --replicas={{ bodhi2_openshift_pods }}
- command: oc -n bodhi scale dc/bodhi-web --replicas=1
- command: oc -n bodhi scale dc/bodhi-consumer --replicas=1
- command: oc -n bodhi scale dc/bodhi-celery --replicas=1
- name: bring staging services up (httpd)
hosts: bodhi2_stg