infrastructure/os/config
2020-10-27 21:52:46 +01:00
..
group_vars/all Refactor 2 2020-09-12 20:17:07 +02:00
roles Disable IPv6 Router Advertisement (RA) as it provision an additional IP address that we do not want to use and breaks things 2020-10-27 21:52:46 +01:00
cluster_nodes.yml Refactor 2 2020-09-12 20:17:07 +02:00
production.yml Reintroduce resolv.conf, it is needed + change DNS from FDN (broken) to Free 2020-10-22 20:22:57 +02:00
README.md Fix some bugs 2020-10-22 18:29:37 +02:00
README.more.md Refactor 2 2020-09-12 20:17:07 +02:00
site.yml Refactor 2 2020-09-12 20:17:07 +02:00

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, only Y 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
  • Run ansible-playbook -i production.yml --limit <machine> site.yml
  • Reboot
  • Check that cluster is healthy