mirror of
https://github.com/matter-labs/ansible-en-role.git
synced 2025-12-06 02:49:55 +00:00
added an example
This commit is contained in:
23
example_playbooks/mainnet_with_snapshots_recovery/README.md
Normal file
23
example_playbooks/mainnet_with_snapshots_recovery/README.md
Normal file
@ -0,0 +1,23 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user