summaryrefslogtreecommitdiffstats
path: root/playbooks/include/proxies-fedorahosted.yml
blob: cc1c9d123ce1f5932b0903df796095a4bc95f4c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- name: Fedorahosted. No more on our servers, but still in our hearts... 
  hosts: proxies-stg:proxies
  user: root
  gather_facts: True

  vars_files:
   - /srv/web/infra/ansible/vars/global.yml
   - "/srv/private/ansible/vars.yml"
   - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml

  handlers:
  - include: "{{ handlers }}/restart_services.yml"

  tasks:
  - name: install special fedorahosted-redirects.conf with fedorahosted redirects
    copy: src={{ files }}/httpd/fedorahosted-redirects.conf dest=/etc/httpd/conf.d/fedorahosted.org/fedorahosted-redirects.conf

  - name: install special git.fedorahosted-redirects.conf with git.fedorahosted redirects
    copy: src={{ files }}/httpd/git.fedorahosted-redirects.conf dest=/etc/httpd/conf.d/git.fedorahosted.org/fedorahosted-redirects.conf