591e21ce78
A first stab of sort of the items and work required for a first step.
14 lines
316 B
Bash
14 lines
316 B
Bash
#!/bin/bash
|
|
sudo apt-get -y install git
|
|
mkdir /opt/stack
|
|
cd /opt/stack
|
|
if [ ! -d ansible ]; then
|
|
git clone git://github.com/ansible/ansible.git --recursive
|
|
else
|
|
cd ansible
|
|
git pull --rebase
|
|
git submodule update --init --recursive
|
|
fi
|
|
echo
|
|
echo "source /opt/stack/ansible/hacking/env-setup to proceed"
|