Make we reindex the database and fix the file recurse param
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
1fb1628608
commit
d434a4c8d2
1 changed files with 4 additions and 4 deletions
|
@ -39,7 +39,7 @@
|
|||
|
||||
tasks:
|
||||
- name: Pull in the list of packages from pkgdb. Go get a snack. (2 hours)
|
||||
command: /usr/bin/fcomm-index-packages --index-db-dest=/var/cache/fedoracommunity/packages/xapian --icons-dest /var/cache/fedoracommunity/packages/icons --mdapi-url=https://apps.stg.fedoraproject.org/mdapi --icons-url=https://dl.fedoraproject.org/pub/alt/screenshots --tagger-url=https://apps.stg.fedoraproject.org/tagger creates=/var/cache/fedoracommunity/packages/xapian/search/termlist.glass
|
||||
command: /usr/bin/fcomm-index-packages --index-db-dest=/var/cache/fedoracommunity/packages/xapian --icons-dest /var/cache/fedoracommunity/packages/icons --mdapi-url=https://apps.stg.fedoraproject.org/mdapi --icons-url=https://dl.fedoraproject.org/pub/alt/screenshots --tagger-url=https://apps.stg.fedoraproject.org/tagger
|
||||
when: install_packages_indexer
|
||||
|
||||
- name: Rebuild that search index on the side and install it. (just prod)
|
||||
|
@ -56,7 +56,7 @@
|
|||
|
||||
tasks:
|
||||
- name: Pull in the list of packages from pkgdb. Go get a snack. (2 hours)
|
||||
command: /usr/bin/fcomm-index-packages --index-db-dest=/var/cache/fedoracommunity/packages/xapian --icons-dest /var/cache/fedoracommunity/packages/icons --mdapi-url=https://apps.fedoraproject.org/mdapi --icons-url=https://dl.fedoraproject.org/pub/alt/screenshots --tagger-url=https://apps.fedoraproject.org/tagger creates=/var/cache/fedoracommunity/packages/xapian/search/termlist.glass
|
||||
command: /usr/bin/fcomm-index-packages --index-db-dest=/var/cache/fedoracommunity/packages/xapian --icons-dest /var/cache/fedoracommunity/packages/icons --mdapi-url=https://apps.fedoraproject.org/mdapi --icons-url=https://dl.fedoraproject.org/pub/alt/screenshots --tagger-url=https://apps.fedoraproject.org/tagger
|
||||
when: install_packages_indexer
|
||||
|
||||
- name: leave maintenance mode
|
||||
|
@ -70,8 +70,8 @@
|
|||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
|
||||
tasks:
|
||||
- name: Make sure the perms are straight
|
||||
file: path=/var/cache/fedoracommunity/packages/ state=directory owner=apache group=fedmsg mode="g+rw" recursive=yes
|
||||
- name: Make sure the perms are straight
|
||||
file: path=/var/cache/fedoracommunity/packages/ state=directory owner=apache group=fedmsg mode="g+rw" recurse=yes
|
||||
|
||||
- name: Restart the cache worker
|
||||
service: name={{item}} state=started
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue