diff --git a/roles/mirrormanager/crawler/files/crawler.cron b/roles/mirrormanager/crawler/files/crawler.cron index fda60f9f82..e23f38c626 100644 --- a/roles/mirrormanager/crawler/files/crawler.cron +++ b/roles/mirrormanager/crawler/files/crawler.cron @@ -1,4 +1,4 @@ # run the crawler twice a day # logs sent to /var/log/mirrormanager/crawler.log and crawl/* by default # 32GB of RAM is not enough for 75 threads, 40 seems to work so far -0 */12 * * * root /usr/bin/mm2_crawler --threads 40 > /dev/null 2>&1 +0 */12 * * * mirrormanager /usr/bin/mm2_crawler --threads 40 > /dev/null 2>&1 diff --git a/roles/mirrormanager/crawler/tasks/main.yml b/roles/mirrormanager/crawler/tasks/main.yml index 1d2d69f2f1..0f4d0f1811 100644 --- a/roles/mirrormanager/crawler/tasks/main.yml +++ b/roles/mirrormanager/crawler/tasks/main.yml @@ -23,7 +23,7 @@ - name: install MM configuration file template: src={{ roles }}/mirrormanager/frontend2/templates/mirrormanager2.cfg dest=/etc/mirrormanager/mirrormanager2.cfg - mode=600 + mode=600 owner=mirrormanager group=mirrormanager tags: - config