forked from Deuxfleurs/infrastructure
use ansible_become instead of ansible_user: root
This commit is contained in:
parent
9981ea0286
commit
e1f171e19c
2 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ For each machine, **one by one** do:
|
||||||
- Check that Consul is healthy
|
- Check that Consul is healthy
|
||||||
- `consul members`
|
- `consul members`
|
||||||
- Check that Postgres is healthy
|
- Check that Postgres is healthy
|
||||||
- Run `ansible-playbook -i production.yml --limit <machine> site.yml`
|
- Run `ansible-playbook -i production.yml --limit <machine> -u <username> site.yml`
|
||||||
- Run `nomad node drain -enable -force -self`
|
- Run `nomad node drain -enable -force -self`
|
||||||
- Reboot
|
- Reboot
|
||||||
- Run `nomad node drain -self -disable`
|
- Run `nomad node drain -self -disable`
|
||||||
|
|
|
@ -3,7 +3,7 @@ cluster_nodes:
|
||||||
veterini:
|
veterini:
|
||||||
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
||||||
ansible_port: 110
|
ansible_port: 110
|
||||||
ansible_user: root
|
ansible_become: true
|
||||||
ipv4: 192.168.1.2
|
ipv4: 192.168.1.2
|
||||||
ipv6: 2a01:e35:2fdc:dbe0::2
|
ipv6: 2a01:e35:2fdc:dbe0::2
|
||||||
interface: eno1
|
interface: eno1
|
||||||
|
@ -14,7 +14,7 @@ cluster_nodes:
|
||||||
silicareux:
|
silicareux:
|
||||||
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
||||||
ansible_port: 111
|
ansible_port: 111
|
||||||
ansible_user: root
|
ansible_become: true
|
||||||
ipv4: 192.168.1.3
|
ipv4: 192.168.1.3
|
||||||
ipv6: 2a01:e35:2fdc:dbe0::3
|
ipv6: 2a01:e35:2fdc:dbe0::3
|
||||||
interface: eno1
|
interface: eno1
|
||||||
|
@ -25,7 +25,7 @@ cluster_nodes:
|
||||||
wonse:
|
wonse:
|
||||||
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
||||||
ansible_port: 112
|
ansible_port: 112
|
||||||
ansible_user: root
|
ansible_become: true
|
||||||
ipv4: 192.168.1.4
|
ipv4: 192.168.1.4
|
||||||
ipv6: 2a01:e35:2fdc:dbe0::4
|
ipv6: 2a01:e35:2fdc:dbe0::4
|
||||||
interface: eno1
|
interface: eno1
|
||||||
|
|
Loading…
Reference in a new issue