2014-12-17 17:56:24 +00:00
|
|
|
- name: Set up some domain rewrites.
|
2019-05-20 18:14:08 +00:00
|
|
|
hosts: proxies_stg:proxies
|
2014-12-17 17:56:24 +00:00
|
|
|
user: root
|
|
|
|
gather_facts: True
|
|
|
|
|
|
|
|
vars_files:
|
|
|
|
- /srv/web/infra/ansible/vars/global.yml
|
2015-01-09 22:59:18 +00:00
|
|
|
- "/srv/private/ansible/vars.yml"
|
2014-12-17 17:56:24 +00:00
|
|
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
|
|
|
|
|
|
handlers:
|
2017-10-16 21:58:36 +00:00
|
|
|
- import_tasks: "{{ handlers_path }}/restart_services.yml"
|
2014-12-17 17:56:24 +00:00
|
|
|
|
|
|
|
roles:
|
|
|
|
|
2020-04-03 20:18:11 +00:00
|
|
|
- role: httpd/domainrewrite
|
2020-04-03 20:35:35 +00:00
|
|
|
destname: keys
|
2020-04-03 20:18:11 +00:00
|
|
|
website: keys.fedoraproject.org
|
|
|
|
path: ^.*$
|
2020-04-03 20:35:35 +00:00
|
|
|
status: 301,QSD
|
2020-04-03 20:18:11 +00:00
|
|
|
target: https://fedoraproject.org/wiki/Infrastructure/graveyard
|
2020-04-03 20:20:21 +00:00
|
|
|
tags: keys
|
2020-04-03 18:44:31 +00:00
|
|
|
|
2014-12-17 17:56:24 +00:00
|
|
|
- role: httpd/domainrewrite
|
|
|
|
destname: admin
|
|
|
|
website: admin.fedoraproject.org
|
|
|
|
target: https://apps.fedoraproject.org/
|
|
|
|
|
2014-12-17 18:32:41 +00:00
|
|
|
- role: httpd/domainrewrite
|
|
|
|
destname: apache-status
|
|
|
|
website: admin.fedoraproject.org
|
|
|
|
path: /status
|
|
|
|
|
2014-12-17 17:56:24 +00:00
|
|
|
- role: httpd/domainrewrite
|
|
|
|
destname: 00-admin
|
|
|
|
website: admin.fedoraproject.org
|
|
|
|
path: ^/favicon.ico$
|
|
|
|
status: 301
|
2015-07-22 18:32:33 +02:00
|
|
|
target: https://fedoraproject.org/static/images/favicon.ico
|
2014-12-17 17:56:24 +00:00
|
|
|
|
|
|
|
- role: httpd/domainrewrite
|
|
|
|
destname: 00-docs
|
|
|
|
website: docs.fedoraproject.org
|
|
|
|
path: ^/favicon.ico$
|
|
|
|
status: 301
|
2015-07-22 18:32:33 +02:00
|
|
|
target: https://fedoraproject.org/static/images/favicon.ico
|
2014-12-17 17:56:24 +00:00
|
|
|
|
|
|
|
- role: httpd/domainrewrite
|
|
|
|
destname: 00-start
|
|
|
|
website: start.fedoraproject.org
|
|
|
|
path: ^/favicon.ico$
|
|
|
|
status: 301
|
2015-07-22 18:32:33 +02:00
|
|
|
target: https://fedoraproject.org/static/images/favicon.ico
|
2014-12-17 17:56:24 +00:00
|
|
|
|
2018-09-02 12:21:13 +02:00
|
|
|
- role: httpd/domainrewrite
|
|
|
|
destname: 00-registry-icon
|
|
|
|
website: registry.fedoraproject.org
|
|
|
|
path: ^/favicon.ico$
|
|
|
|
status: 301
|
|
|
|
target: https://fedoraproject.org/static/images/favicon.ico
|
2018-09-18 20:51:32 +00:00
|
|
|
|
|
|
|
- role: httpd/domainrewrite
|
|
|
|
destname: 00-community-icon
|
|
|
|
website: communityblog.fedoraproject.org
|
|
|
|
path: ^/favicon.ico$
|
|
|
|
status: 301
|
|
|
|
target: https://fedoraproject.org/static/images/favicon.ico
|
2018-09-19 17:41:07 +00:00
|
|
|
|