diff --git a/roles/copr/frontend/tasks/main.yml b/roles/copr/frontend/tasks/main.yml index 9a08f8b9cd..61b91f1ea0 100644 --- a/roles/copr/frontend/tasks/main.yml +++ b/roles/copr/frontend/tasks/main.yml @@ -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/ diff --git a/roles/copr/frontend/templates/httpd/coprs_ssl.conf.j2 b/roles/copr/frontend/templates/httpd/coprs_ssl.conf.j2 index 176ad700c1..846d8d85dd 100644 --- a/roles/copr/frontend/templates/httpd/coprs_ssl.conf.j2 +++ b/roles/copr/frontend/templates/httpd/coprs_ssl.conf.j2 @@ -78,5 +78,3 @@ Listen 443 https Redirect 302 / https://copr.fedorainfracloud.org/ {% endif %} - -