mirror of
https://github.com/matter-labs/ansible-en-role.git
synced 2025-12-06 02:49:55 +00:00
## What ❔ Subj ## Why ❔ Due to incorrect repo merge settings it was allowed to merge without squash so commits went to main without semver prefixes and did not trigger release ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [ ] Documentation comments have been added / updated.
24 lines
579 B
Markdown
24 lines
579 B
Markdown
# Mainnet Snapshots Recovery playbook
|
|
|
|
This directory is simple example how to set up EN using this role. It comes with snapshots recovery enabled by default.\
|
|
**Note that for simplicity it's using postgres database
|
|
with a very unsecure password and the EN is just started on the same machine**
|
|
|
|
To run this playbook, first install dependencies
|
|
|
|
```shell
|
|
ansible-galaxy install -r requirements.yml
|
|
```
|
|
|
|
and then you can run the playbook using
|
|
|
|
```shell
|
|
ansible-playbook playbook.yml -i hosts.ini -K
|
|
```
|
|
|
|
To see logs you can use
|
|
|
|
```shell
|
|
docker logs en-external_node-1
|
|
```
|