Greenwave: Add the missing info (hosts, user, ...) to the play
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
cc5b965909
commit
6e205bde3a
1 changed files with 9 additions and 0 deletions
|
@ -82,6 +82,15 @@
|
|||
dcname: greenwave-web
|
||||
|
||||
- name: Change the route haproxy default timeout
|
||||
hosts: os-masters[0]:os-masters-stg[0]
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
tasks:
|
||||
- name: Set the timeout to the openshift route
|
||||
command: "oc -n greenwave annotate route {{ item }} --overwrite haproxy.router.openshift.io/timeout=330s"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue