infrastructure/os/config
2020-09-14 23:12:54 +02:00
..
group_vars/all Refactor 2 2020-09-12 20:17:07 +02:00
roles ajout de moi-meme dans la config de l'os 2020-09-14 23:12:54 +02:00
cluster_nodes.yml Refactor 2 2020-09-12 20:17:07 +02:00
production Refactor 2 2020-09-12 20:17:07 +02:00
README.md Refactor 2 2020-09-12 20:17:07 +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
    • 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