This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
сервис_ansible [2026/02/25 20:15] val [Ansible и SOPS] |
сервис_ansible [2026/03/02 13:18] (current) val [Ansible и Hashicorp Vault] |
||
|---|---|---|---|
| Line 755: | Line 755: | ||
| ~/openvpn1# ###ansible-vault decrypt openvpn1/files/server.key | ~/openvpn1# ###ansible-vault decrypt openvpn1/files/server.key | ||
| + | |||
| + | |||
| + | ~/openvpn1# less inventory.yaml | ||
| ~/openvpn1# ansible-vault encrypt_string strongpassword #или 123 | ~/openvpn1# ansible-vault encrypt_string strongpassword #или 123 | ||
| Line 806: | Line 809: | ||
| ansible_ssh_user: "{{ openvpn1_arr.username }}" | ansible_ssh_user: "{{ openvpn1_arr.username }}" | ||
| ansible_ssh_pass: "{{ openvpn1_arr.password }}" | ansible_ssh_pass: "{{ openvpn1_arr.password }}" | ||
| - | ansible_sudo_pass: "{{ openvpn1_arr.password }}" | + | #ansible_sudo_pass: "{{ openvpn1_arr.password }}" |
| ... | ... | ||
| </code><code> | </code><code> | ||