Jakub Sokołowski
95a5de787a
add dist_validators_purge_enabled option
...
Allows for purging all existing validators from node.
Necessary for setup of validator clients.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-28 10:20:31 +02:00
Jakub Sokołowski
281fa659e6
script: support --force flag to always update
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-25 20:16:12 +02:00
Jakub Sokołowski
4f292d670b
provide secrets and validators paths separately
...
This is necessary since the `--secrets-dir` and `--validators-dir` flags
can be also provided separately to a beacon node.
This also allows for setting these paths to `/var/empty` when a
validator client is being used instead of providing the files to the node.
https://github.com/status-im/infra-nimbus/issues/122
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-12 15:49:30 +02:00
Jakub Sokołowski
dfc2adb3bd
use symmetric_difference() method to check fo changes
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-08 11:15:27 +02:00
Jakub Sokołowski
0da551085f
rename validators path var to match other roles
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-07-15 10:45:21 +02:00
Jakub Sokołowski
99a6a191c2
win32nt/copy: pull changes if not cloning
...
Otherwise we might miss changes in number of validators.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-26 13:02:42 +02:00
Jakub Sokołowski
22f51e2747
copy: fix task title typo
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-05-26 13:02:34 +02:00
Jakub Sokołowski
57a92fb689
copy: drop specifying ansible_become_user
...
Not necessary, also add warning.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-02-28 16:53:27 +01:00
Jakub Sokołowski
f5e6c3063e
add support for MacOS Darwin systems
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-10-22 17:53:59 +02:00
Jakub Sokołowski
1ec52b38e3
fix name of SSH key credential, use BitWarden
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-18 10:52:28 +02:00
Jakub Sokołowski
c1b8149b3a
script: add adjusting folder and file permissions
...
https://gist.github.com/cheatfate/03499d0db5144a0ff8ffe29328a4e80d
https://github.com/status-im/nimbus-eth2/blob/v1.4.1/scripts/makedir.sh
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-19 16:41:42 +02:00
Jakub Sokołowski
14732e98b6
refactor as a single Python script, port to windows
...
This way it's not only faster, but works on Windows hosts.
https://github.com/status-im/infra-nimbus/issues/59
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-16 14:58:41 +02:00
Jakub Sokołowski
18b1123766
fix missing quote for chown command
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-07-14 20:31:58 +02:00
Jakub Sokołowski
871b8e9973
add support for specifying user and group for files
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-30 22:46:28 +02:00
Jakub Sokołowski
17f2f33df9
fix destination path for secrets
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-30 22:43:56 +02:00
Jakub Sokołowski
f6a01c6d84
set dist_validators_deployed as a success indicator
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-28 16:05:47 +02:00
Jakub Sokołowski
8e0949284a
fix write conditional, fix chmod command format
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-28 16:05:43 +02:00
Jakub Sokołowski
14356139b2
rafactor to deploy be run for only one node at a time
...
This allows for handling multiple nodes on the same host.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-28 13:49:59 +02:00
Jakub Sokołowski
456b23cdb4
update readme with ilnks
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-28 13:49:28 +02:00
Jakub Sokołowski
cb2a66d41d
add role metadata folder
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-28 13:49:27 +02:00
Jakub Sokołowski
32426702f9
move files out of infra-nimbus repo
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-28 13:49:26 +02:00
Jakub Sokołowski
4fcad318c3
initial empty commit
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-06-28 10:50:32 +02:00