copr-fe: move index rebuilding to the bottom of the playbook
This commit is contained in:
parent
51573754bf
commit
b2583fae33
2 changed files with 7 additions and 9 deletions
|
@ -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/
|
||||
|
|
|
@ -78,5 +78,3 @@ Listen 443 https
|
|||
Redirect 302 / https://copr.fedorainfracloud.org/
|
||||
{% endif %}
|
||||
</VirtualHost>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue