Skip to content

Commit b37dfd2

Browse files
authored
[Backport stable-25-2] Ydbdocs 1591 (#28972)
2 parents 84234fd + 308bffe commit b37dfd2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ydb/docs/en/core/devops/deployment-options/ansible/initial-deployment.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ inventory = ./inventory
116116
pipelining = True
117117
private_role_vars = True
118118
timeout = 5
119-
vault_password_file = ./ansible_vault_password_file
120119
verbosity = 1
121120
log_path = ./ydb.log
122121
@@ -420,7 +419,7 @@ all:
420419
ydb_password: <password>
421420
```
422421
423-
Encrypt this file using the command `ansible-vault encrypt inventory/99-inventory-vault.yaml`. This would require you to either manually enter the encryption password (which can be different) or have `vault_password_file` Ansible setting configured. See [Ansible Vault documentation](https://docs.ansible.com/ansible/latest/vault_guide/index.html) for more details on how this works.
422+
Encrypt this file using the command `ansible-vault encrypt inventory/99-inventory-vault.yaml`. It would require you to manually enter the encryption password, which is independent from the `ydb_password` setting value and better be different. Alternatively, you can save the encryption password to a separate file and configure the `vault_password_file` Ansible setting with the file path. See [Ansible Vault documentation](https://docs.ansible.com/ansible/latest/vault_guide/index.html) for more details on how this works.
424423
425424
### Prepare the {{ ydb-short-name }} Configuration File {#ydb-config-prepare}
426425

ydb/docs/ru/core/devops/deployment-options/ansible/initial-deployment.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ inventory = ./inventory
116116
pipelining = True
117117
private_role_vars = True
118118
timeout = 5
119-
vault_password_file = ./ansible_vault_password_file
120119
verbosity = 1
121120
log_path = ./ydb.log
122121
@@ -420,7 +419,7 @@ all:
420419
ydb_password: <password>
421420
```
422421
423-
Зашифруйте этот файл с помощью команды `ansible-vault encrypt inventory/99-inventory-vault.yaml`. Это потребует либо вручную ввести пароль шифрования (который может отличаться), либо настроить параметр Ansible `vault_password_file`. Подробнее о том, как это работает, см. в [документации Ansible Vault](https://docs.ansible.com/ansible/latest/vault_guide/index.html).
422+
Зашифруйте этот файл с помощью команды `ansible-vault encrypt inventory/99-inventory-vault.yaml`. Это потребует либо вручную ввести пароль шифрования (который не зависит от установленного значения `ydb_password`, предпочтительнее должен отличаться), либо настроить параметр Ansible `vault_password_file`. Подробнее о том, как это работает, см. в [документации Ansible Vault](https://docs.ansible.com/ansible/latest/vault_guide/index.html).
424423
425424
### Подготовка конфигурационного файла {{ ydb-short-name }} {#ydb-config-prepare}
426425

0 commit comments

Comments
 (0)