Commit 5b929464 authored by Rafael Monnerat's avatar Rafael Monnerat

Include vm-cloudera-manager

parent 5b4d8c88
......@@ -21,3 +21,4 @@ render("gnet-server.yml", "install/gnet/slapos")
render("imt-server-update.yml", "install/imt/slapos-update")
render("imt-server.yml", "install/imt/slapos")
render("imt-vm-bootstrap.yml", "install/imt/vm-bootstrap")
render("imt-vm-cloudera-manager.yml", "install/imt/vm-cloudera-manager")
#!/bin/bash
PLAYBOOK_REPOSITORY_URL=https://lab.nexedi.cn/rafael/slapos.playbook/repository/archive.tar.gz?ref=master
PLAYBOOK_FILE=imt-vm-cloudera-manager.yml
#### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5=8a89ce4bf151a94fa005ef6d8f7a861a
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
\ No newline at end of file
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