copr-fe: move index rebuilding to the bottom of the playbook

This commit is contained in:
clime 2018-08-24 12:05:28 +02:00
parent 51573754bf
commit b2583fae33
2 changed files with 7 additions and 9 deletions

View file

@ -88,13 +88,6 @@
- nb
- kevin
- name: rebuild indexes
command: ./manage.py update_indexes
become: yes
become_user: copr-fe
args:
chdir: /usr/share/copr/coprs_frontend/
- name: install ssl certificates for production
import_tasks: "install_certs.yml"
when: not devel
@ -136,3 +129,10 @@
- name: disallow robots on dev instance
when: devel
copy: src=robots.txt dest=/var/www/html/
- name: rebuild indexes
command: ./manage.py update_indexes
become: yes
become_user: copr-fe
args:
chdir: /usr/share/copr/coprs_frontend/

View file

@ -78,5 +78,3 @@ Listen 443 https
Redirect 302 / https://copr.fedorainfracloud.org/
{% endif %}
</VirtualHost>