forked from Deuxfleurs/infrastructure
.. | ||
group_vars/all | ||
roles | ||
cluster_nodes.yml | ||
production.yml | ||
README.md | ||
README.more.md | ||
site.yml |
ANSIBLE
How to proceed
For each machine, one by one do:
- Check that cluster is healthy
- Check gluster
sudo gluster peer status
sudo gluster volume status all
(check Online Col, onlyY
must appear)
- Check that Nomad is healthy
nomad server members
nomad node status
- Check that Consul is healthy
consul members
- Check that Postgres is healthy
- Check gluster
- Run
ansible-playbook -i production.yml --limit <machine> site.yml
- Reboot
- Check that cluster is healthy