Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add redmine test instance to fastly #1876

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion ansible/fastly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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