From fe6e70bc75aa99d659e8a6847e888c84c5d992e2 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Wed, 30 Aug 2023 12:13:15 +0200 Subject: [PATCH] add redmine test instance to fastly --- ansible/fastly.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/ansible/fastly.yml b/ansible/fastly.yml index 6aba25dc4..65887972e 100644 --- a/ansible/fastly.yml +++ b/ansible/fastly.yml @@ -6,7 +6,7 @@ vars_files: - secrets.yml tasks: - - name: configure fastly service + - name: configure fastly service for web01 fastly_service: name: "{{ item }}.theforeman.org" fastly_api_key: "{{ fastly_api_key }}" @@ -41,3 +41,25 @@ - stagingdeb - stagingyum - yum + - name: configure fastly service for redmine-test + fastly_service: + name: "projects-test.theforeman.org" + fastly_api_key: "{{ fastly_api_key }}" + domains: + - name: "projects-test.theforeman.org" + backends: + - name: rails-pgsql-persistent-test-projects-theforeman-org.apps.ospo-osci.z3b1.p1.openshiftapps.com + address: rails-pgsql-persistent-test-projects-theforeman-org.apps.ospo-osci.z3b1.p1.openshiftapps.com + port: 443 + shield: iad-va-us + ssl_cert_hostname: rails-pgsql-persistent-test-projects-theforeman-org.apps.ospo-osci.z3b1.p1.openshiftapps.com + healthcheck: home + healthchecks: + - name: home + host: rails-pgsql-persistent-test-projects-theforeman-org.apps.ospo-osci.z3b1.p1.openshiftapps.com + path: "/" + threshold: 1 + timeout: 5000 + window: 2 + initial: 1 + check_interval: 60000