diff --git a/roles/repo2json/files/repo2json.cron b/roles/repo2json/files/repo2json.cron index c18ba9a0d1..1b53a1babb 100644 --- a/roles/repo2json/files/repo2json.cron +++ b/roles/repo2json/files/repo2json.cron @@ -1 +1 @@ -45 * * * * root cd /srv/web/repojson && /usr/local/bin/repo2json +45 * * * * root cd /srv/web/repo/json && /usr/local/bin/repo2json diff --git a/roles/repo2json/tasks/main.yml b/roles/repo2json/tasks/main.yml index 0e2ddcd53b..c6b96f395e 100644 --- a/roles/repo2json/tasks/main.yml +++ b/roles/repo2json/tasks/main.yml @@ -17,7 +17,7 @@ - repo2json - name: Ensure that the output dir exists - file: dest=/srv/web/repojson owner=root group=root mode=0755 state=directory + file: dest=/srv/web/repo/json owner=root group=root mode=0755 state=directory tags: - repo2json