Merge pull request 'ansible-users' (#23) from ansible-users into master
Reviewed-on: Deuxfleurs/deuxfleurs.fr#23
This commit is contained in:
commit
f14777e1b6
4 changed files with 7 additions and 5 deletions
|
@ -13,7 +13,7 @@ For each machine, **one by one** do:
|
|||
- Check that Consul is healthy
|
||||
- `consul members`
|
||||
- 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`
|
||||
- Reboot
|
||||
- Run `nomad node drain -self -disable`
|
||||
|
|
|
@ -3,7 +3,7 @@ cluster_nodes:
|
|||
veterini:
|
||||
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
||||
ansible_port: 110
|
||||
ansible_user: root
|
||||
ansible_become: true
|
||||
ipv4: 192.168.1.2
|
||||
ipv6: 2a01:e35:2fdc:dbe0::2
|
||||
interface: eno1
|
||||
|
@ -14,7 +14,7 @@ cluster_nodes:
|
|||
silicareux:
|
||||
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
||||
ansible_port: 111
|
||||
ansible_user: root
|
||||
ansible_become: true
|
||||
ipv4: 192.168.1.3
|
||||
ipv6: 2a01:e35:2fdc:dbe0::3
|
||||
interface: eno1
|
||||
|
@ -25,7 +25,7 @@ cluster_nodes:
|
|||
wonse:
|
||||
ansible_host: fbx-rennes2.machine.deuxfleurs.fr
|
||||
ansible_port: 112
|
||||
ansible_user: root
|
||||
ansible_become: true
|
||||
ipv4: 192.168.1.4
|
||||
ipv6: 2a01:e35:2fdc:dbe0::4
|
||||
interface: eno1
|
||||
|
|
1
os/config/roles/users/files/alex-key3.pub
Normal file
1
os/config/roles/users/files/alex-key3.pub
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJpaBZdYxHqMxhv2RExAOa7nkKhPBOHupMP3mYaZ73w9 lx@lindy
|
|
@ -10,7 +10,8 @@ active_users:
|
|||
is_admin: true
|
||||
ssh_keys:
|
||||
- 'alex-key1.pub'
|
||||
- 'alex-key2.pub'
|
||||
#- 'alex-key2.pub'
|
||||
- 'alex-key3.pub'
|
||||
|
||||
- username: 'maximilien'
|
||||
is_admin: true
|
||||
|
|
Reference in a new issue