From 6e205bde3aaa1bd4f76937d569fa851f3ba27408 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Fri, 15 Mar 2019 13:56:58 +0100 Subject: [PATCH] Greenwave: Add the missing info (hosts, user, ...) to the play Signed-off-by: Clement Verna --- playbooks/openshift-apps/greenwave.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/playbooks/openshift-apps/greenwave.yml b/playbooks/openshift-apps/greenwave.yml index cc31184a1e..bdbe0bfa77 100644 --- a/playbooks/openshift-apps/greenwave.yml +++ b/playbooks/openshift-apps/greenwave.yml @@ -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"