Commit aa3fa3f7 authored by Kristopher Ruzic's avatar Kristopher Ruzic

wendelin stuff, proper this time

parent 6ea0b370
#!/bin/bash
PLAYBOOK_REPOSITORY_URL=https://lab.nexedi.cn/krruzic/slapos.playbook/repository/archive.tar.gz?ref=master
PLAYBOOK_FILE=wendelin-standalone.yml
PLAYBOOK_REPOSITORY_URL=https://lab.nexedi.cn/rafael/slapos.playbook/repository/archive.tar.gz?ref=master
PLAYBOOK_FILE=erp5-standalone.yml
#### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
......
#!/bin/bash
PLAYBOOK_REPOSITORY_URL=https://lab.nexedi.cn/krruzic/slapos.playbook/repository/archive.tar.gz?ref=master
PLAYBOOK_FILE=wendelin-standalone.yml
#### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=e2c9b43ccff6e606ad25cd1df0e2705f
wget --no-check-certificate https://deploy.nexedi.cn/base-setup -O /tmp/base-setup
if [ "`md5sum /tmp/base-setup | cut -f1 -d\ `" != "$BASE_SETUP_SCRIPT_MD5" ]; then
echo "ERROR: base-setup has wrong md5 `md5sum /tmp/base-setup | cut -f1 -d\ ` != $BASE_SETUP_SCRIPT_MD5"
exit 1
fi
source /tmp/base-setup
download_playbook $PLAYBOOK_REPOSITORY_URL
echo "Starting Ansible playbook:"
ansible-playbook $PLAYBOOK_FILE -i hosts --connection=local
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