Commit 54675ce6 authored by Rafael Monnerat's avatar Rafael Monnerat

Merge branch 'master' into 'master'

Fix download_playbook for unstable channel.

See merge request !13
parents 521721a8 c6805c7a
...@@ -16,9 +16,20 @@ fi ...@@ -16,9 +16,20 @@ fi
source /tmp/base-setup source /tmp/base-setup
download_playbook # Include Additional Functions
if [ ! -f /etc/opt/slapcache.cfg ]; then
slapcache-conf
fi
sed -i "s/key = slapos-global-key/key = slapos-global-unstable-key/g" /etc/opt/slapcache.cfg sed -i "s/key = slapos-global-key/key = slapos-global-unstable-key/g" /etc/opt/slapcache.cfg
DFILE="/tmp/tmpplaybook_unstable$(basename $0).$$/"
TFILE="archive.tar.gz"
mkdir -p $DFILE
cd $DFILE
slapcache-download --destination=$TFILE
tar -xzvf $TFILE
rm $TFILE
clear clear
echo "Starting Ansible playbook:" echo "Starting Ansible playbook:"
......
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