This repository has been archived on 2023-03-15. You can view files and clone it, but cannot push or open issues or pull requests.
infrastructure/ansible
2020-07-15 16:03:33 +02:00
..
group_vars/all Update local scripts 2020-06-16 16:28:24 +02:00
roles Set up wireguard in dev cluster 2020-07-15 16:03:33 +02:00
cluster_nodes.yml Clean nomad+consul deploy tasks as we do not deploy anymore on ARM so it is untested for real 2020-07-05 20:12:51 +02:00
lxvm Set up wireguard in dev cluster 2020-07-15 16:03:33 +02:00
production Add my own modifications 2020-07-05 19:49:32 +02:00
README.md Add docs + fix warning 2020-07-05 20:15:28 +02:00
README.more.md Add a readme 2020-07-05 19:52:31 +02:00
site.yml Initial commit 2019-07-11 09:33:07 +02:00

ANSIBLE

How to proceed

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)
    • Check that Nomad is healthy
    • Check that Consul is healthy
    • Check that Postgres is healthy
  • Run ansible-playbook -i production --limit <machine> site.yml
  • Reboot
  • Check that cluster is healthy