From 245e5d493f0641dbcb577a8f37e10b1211929896 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 11 Apr 2017 17:00:00 +0000 Subject: [PATCH] also check in the new file. sigh --- playbooks/include/proxies-fedorahosted.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 playbooks/include/proxies-fedorahosted.yml diff --git a/playbooks/include/proxies-fedorahosted.yml b/playbooks/include/proxies-fedorahosted.yml new file mode 100644 index 0000000000..e96c087994 --- /dev/null +++ b/playbooks/include/proxies-fedorahosted.yml @@ -0,0 +1,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 letsencrypt info + copy: src={{ files }}/httpd/git.fedorahosted-redirects.conf dest=/etc/httpd/conf.d/git.fedorahosted.org/fedorahosted-redirects.conf +