scitas-mini-cluster/deployf47ec1a91e7amaster
scitas-mini-cluster/deploy
f47ec1a91e7amaster
README
README
Deploy software using Ansible
- Install Ansible >= 2
cd ~ git clone https://github.com/ansible/ansible.git cd ansible git checkout v2.2.0.0-0.1.rc1 git submodule update --init --recursive sudo python setup.py install
- Add the nodes IPs to the hosts file (configure your ~/.ssh/config if needed)
- Run ansible with make
Debug
- Install vagrant
- Run vagrant
vagrant up
- Apply ansible receipt
vagrant provision #or make
Prod
- Copy hosts.examples to hosts
- Replace the ip addresses by yours, for instance
[compute] 10.2.0.3 10.2.0.4 [admin] 10.2.0.2
- Make sure you can connect with SSH on those machines using the root account
- Run make
c4science · Help