forked from saratov/infra
Igor Chudov
b3f53c4c5e
We have boxes built for both Vagrant and testing purposes. We don't need 'vagrant' user when performing tests so this step deletes this user completely from the VM. |
||
---|---|---|
docs | ||
library | ||
nix | ||
plugins | ||
roles | ||
vars | ||
.gitignore | ||
.gitmodules | ||
ansible.cfg | ||
infra.sh | ||
make-example-stack.yml | ||
provision.yml | ||
README.md | ||
shell.nix |
Prepare
install prerequired ansible 2.6+ and python modules
apt-get install ansible python-module-proxmoxer python-module-jmespath python-module-netaddr
init submodules and pull infra-conf repository
export CONF_URI="http://gogs.srt/BaseALT/infra-conf.git"
git submodule update --init --recursive
git subtree add --prefix=vars/conf "${CONF_URI}" master
ssh-add ~/.ssh/robot_key
do not forget to add robot ssh-key and clone passdb
deploy desired stack
./infra.sh test-env test-stack