mirror of
https://github.com/matter-labs/ansible-en-role.git
synced 2025-12-06 02:49:55 +00:00
update doc
This commit is contained in:
11
README.md
11
README.md
@ -68,6 +68,17 @@ postgres_arguments:
|
|||||||
|
|
||||||
We recommend using pgtune [online]<https://pgtune.leopard.in.ua/> or [self-hosted](https://github.com/le0pard/pgtune) version with with "Online transaction processing system" preset as a good starting point for generating optimal config for your hardware.
|
We recommend using pgtune [online]<https://pgtune.leopard.in.ua/> or [self-hosted](https://github.com/le0pard/pgtune) version with with "Online transaction processing system" preset as a good starting point for generating optimal config for your hardware.
|
||||||
|
|
||||||
|
If you want to set basic auth for inbound requests, You can do it by configure next variables:
|
||||||
|
```yaml
|
||||||
|
# Enable basic auth for external node
|
||||||
|
enable_basic_auth: false
|
||||||
|
basic_auth_username: "" # basic auth username
|
||||||
|
basic_auth_secret: "" # basic auth secret
|
||||||
|
```
|
||||||
|
Basic auth secret can be generated by next command:
|
||||||
|
|
||||||
|
`echo $(htpasswd -nb <username> <password>) | sed -e s/\\$/\\$\\$/g`
|
||||||
|
|
||||||
## Step-by-step guide
|
## Step-by-step guide
|
||||||
|
|
||||||
1. Install ansible collection on your machine from where you will run ansible:
|
1. Install ansible collection on your machine from where you will run ansible:
|
||||||
|
|||||||
Reference in New Issue
Block a user