diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-07-05 20:15:28 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-07-05 20:15:28 +0200 |
commit | 81480fa1f99dc374fa1a444c34683187b7525b43 (patch) | |
tree | e062eeecbae185bf80d7c9da7d2a8e65d31575ef /ansible | |
parent | 9cf37f9fe0da315b73df5933b7dd494727c1c7b8 (diff) | |
download | infrastructure-81480fa1f99dc374fa1a444c34683187b7525b43.tar.gz infrastructure-81480fa1f99dc374fa1a444c34683187b7525b43.zip |
Add docs + fix warning
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/README.md | 3 | ||||
-rw-r--r-- | ansible/roles/network/tasks/main.yml | 2 |
2 files changed, 4 insertions, 1 deletions
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 <machine> 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 |