infrastructure/os_config
2020-09-12 10:03:48 +02:00
..
group_vars/all Rebase first step 2020-09-12 10:03:48 +02:00
roles Rebase first step 2020-09-12 10:03:48 +02:00
cluster_nodes.yml Rebase first step 2020-09-12 10:03:48 +02:00
production Rebase first step 2020-09-12 10:03:48 +02:00
README.md Rebase first step 2020-09-12 10:03:48 +02:00
README.more.md Rebase first step 2020-09-12 10:03:48 +02:00
site.yml Rebase first step 2020-09-12 10:03:48 +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