Commit 80eb4e95 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Use full path for run the command.

parent d6fee63d
......@@ -10,7 +10,7 @@ TFILE="archive.tar.gz"
mkdir -p $DFILE
cd $DFILE
slapcache-download --destination=$TFILE
/usr/local/bin/slapcache-download --destination=$TFILE
tar -xzvf $TFILE
md5sum $TFILE > "/opt/upgrader/next-upgrader-md5sum"
......@@ -17,7 +17,7 @@
- shell: mkdir -p /opt/upgrader/tmp
- name: Periodically download the latest playbook
shell: slapcache-download --destination=/opt/upgrader/archive.tar.gz
shell: /usr/local/bin/slapcache-download --destination=/opt/upgrader/archive.tar.gz
- name: Uncompress
shell: tar -xzvf /opt/upgrader/archive.tar.gz
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment