An ansible framework to encluster remote machines
Vanilla Ubuntu 16.04 Server
ifdown eno1
auto eno1 iface eno1 inet static address 192.168.0.3 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.1
ifup eno1
apt install openssh-server openssh-client
user@master$ cd .../clusterer
[servers] target1 target2
[servers:vars] ansible_connection=ssh ansible_user=system
copy your own or gen
user@master$ ssh-keygen -t rsa -f ansible/security/ansible_rsa -q -N ""
root@master$ apt install software-properties-common root@master$ apt-add-repository ppa:ansible/ansible root@master$ apt update && apt upgrade root@master$ apt install ansible
update "servers" in inventory directory
user@master$ ansible-playbook -i inventory/ --user system --ask-pass --ask-become-pass playbooks/init.yml
user@master$ ansible-playbook -i inventory/ -l maas_control playbooks/maas.yml
user@master$ ansible-playbook -i inventory/ playbooks/site.yml
- Fork the project repo
- Create your feature branch:
git checkout -b myfeature
- Commit your changes:
git commit -am 'Added my feature'
- Push to the branch:
git push origin myfeature
- Submit a pull request
Steve Marvell (SM) - Systems Architect - Unipart Digital
TODO