summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2014-12-19 12:07:58 +0100
committerPierre-Yves Chibon <pingou@pingoured.fr>2014-12-19 12:07:58 +0100
commit1743aa23c223dd4492a378fd6989f38fbd402453 (patch)
tree8c400bdf12245d56a19758e6e8ad6432e96cb1e0
parente6e33204af55ffa1f93b2c36662b99d73bbe75c4 (diff)
downloadansible-1743aa23c223dd4492a378fd6989f38fbd402453.tar.gz
ansible-1743aa23c223dd4492a378fd6989f38fbd402453.tar.xz
ansible-1743aa23c223dd4492a378fd6989f38fbd402453.zip
Move the repo2json output to a better location
-rw-r--r--roles/repo2json/files/repo2json.cron2
-rw-r--r--roles/repo2json/tasks/main.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/repo2json/files/repo2json.cron b/roles/repo2json/files/repo2json.cron
index c18ba9a0d..1b53a1bab 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 0e2ddcd53..c6b96f395 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