Move these tasks over to the playbook instead of in roles includes

This commit is contained in:
Kevin Fenzi 2016-03-08 22:17:48 +00:00
parent a8eba01a56
commit 9d612c0530
2 changed files with 21 additions and 19 deletions

View file

@ -268,25 +268,6 @@
target: https://arm.stg.fedoraproject.org/$1
when: env == 'staging'
# When we have a prerelease we also need to drop the
# config files.
- name: Remove prerelease-to-final-spins
path: /etc/httpd/conf.d/spins.fedoraproject.org/prerelease-to-final-spins.conf state=absent
when: env == 'staging'
- name: Remove prerelease-to-final-labs
path: /etc/httpd/conf.d/labs.fedoraproject.org/prerelease-to-final-labs.conf state=absent
when: env == 'staging'
- name: Remove prerelease-to-final-gfo
path: /etc/httpd/conf.d/getfedora.org/prerelease-to-final-gfo.conf state=absent
when: env == 'staging'
- name: Remove prerelease-to-final-arm
path: /etc/httpd/conf.d/arm.fedoraproject.org/prerelease-to-final-gfo.conf state=absent
when: env == 'staging'
# end staging
- role: httpd/redirectmatch