Add missing playbook & michael account

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Tanguy 2022-04-12 10:05:19 +02:00 committed by Jakub Sokołowski
parent ff4661f148
commit 7fdde535aa
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
2 changed files with 40 additions and 0 deletions

View File

@ -12,6 +12,7 @@ wireguard_consul_acl_token: '{{lookup("bitwarden", "consul/acl-tokens", field="w
# Custom SSH accounts for Codex fleet, should start from UID 8000.
bootstrap__active_extra_users:
- { name: dryajov, uid: 8004, admin: true, key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBjhsSxUXSQBv6PFEwE9TYG0TeuzabRipy/IoIS33BTt dryajov@status.im' }
- { name: michael, uid: 8005, admin: true, key: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL6SqXrxfGl6Lkb7W1P9+ApR7z17QwhL+4DiVaVEGQCX michael@cobra-la' }
- { name: tanguy, uid: 8007, admin: true, key: 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC5wbFl7pJ+Vl6Csw7gh50+fYiuH/HAV+dLN0997isreWsrr+H/6uTDwvtYmbfG8Nrr1NVzFjrGXTUhF3lmSTzC7l+xdlUE9QoOumTF7OI7A79Wp0B3kzKk8YAKskyCtz4JUtvJaExJhxTy385dbXXrS/hV1lfciLiDp+rkg+EkCTedMeWVWhaJpoaS8OY/UzoYfPClFmGM5sAMF9UNPPIGjvCibTdt2uGerOki4FIcgqXARzOc1J6bEA1qTeYRh1wjv6KC3AyLRsLEooXqoviVYUm0bVLMZteTpIdY5N61FlytPcFpjAla9SCJYwPd3ud1hdurcQ5+wHuaAyKksCa6Qnhf/vX9LMFwbOkOqGLNKY5sdRhDyN5xbNdfk4jnY3E+8Z0CNmSV+dpmpwcOahNTB65t5zqcU/NXynFbALf3j3A9uklQ5Or1Y8ytnzjfSko+TQZHBr5/w810vxS3VNS470wGjyzhyVKSg1qNJXb+m2GLT9k5lBxnl7j3o8CLbOs= tavon@wheatley' }

39
ansible/main.yml Normal file
View File

@ -0,0 +1,39 @@
---
- name: Verify Ansible versions
hosts: all
tags: always
become: false
run_once: true
gather_facts: false
tasks:
- local_action: command ./versioncheck.py
changed_when: false
- name: Setup geth symlink
become: true
hosts: all
tasks:
- copy:
dest: '/docker/geth/node/keys/account.addr'
content: '{{ geth_validator_account }}'
owner: dockremap
group: docker
mode: 0640
- name: Configure geth nodes
become: true
hosts: all
serial: 1
roles:
- { role: swap-file, tags: swap-file }
- { role: infra-role-geth, tags: infra-role-geth }
- name: Configure codex instances
become: true
hosts: all
tasks:
- include_role: name=infra-role-nim-codex
with_items: '{{ nodes_layout[hostname]["instances"] }}'
loop_control:
loop_var: node
index_var: idx