From 81480fa1f99dc374fa1a444c34683187b7525b43 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 5 Jul 2020 20:15:28 +0200 Subject: [PATCH] Add docs + fix warning --- ansible/README.md | 3 +++ ansible/roles/network/tasks/main.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/README.md b/ansible/README.md index 023b941..db8d960 100644 --- a/ansible/README.md +++ b/ansible/README.md @@ -6,6 +6,9 @@ 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 site.yml` - Reboot - Check that cluster is healthy diff --git a/ansible/roles/network/tasks/main.yml b/ansible/roles/network/tasks/main.yml index e0cf60c..2087765 100644 --- a/ansible/roles/network/tasks/main.yml +++ b/ansible/roles/network/tasks/main.yml @@ -7,7 +7,7 @@ - name: "Activate IP forwarding" sysctl: name: net.ipv4.ip_forward - value: 1 + value: "1" sysctl_set: yes # These two lines are used to undo previous config, remove them once it is done