infrastructure/os/config/README.md

16 lines
434 B
Markdown
Raw Normal View History

2020-07-05 17:52:31 +00:00
# ANSIBLE
2019-06-01 14:02:49 +00:00
2020-07-05 17:52:31 +00:00
## How to proceed
2019-06-01 14:02:49 +00:00
2020-07-05 17:52:31 +00:00
For each machine, **one by one** do:
- Check that cluster is healthy
- `sudo gluster peer status`
- `sudo gluster volume status all` (check Online Col, only `Y` must appear)
2020-07-05 18:15:28 +00:00
- Check that Nomad is healthy
- Check that Consul is healthy
- Check that Postgres is healthy
2020-07-05 17:52:31 +00:00
- Run `ansible-playbook -i production --limit <machine> site.yml`
- Reboot
- Check that cluster is healthy
2019-06-01 14:02:49 +00:00