-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from axivo/doc/playbook
Update playbooks documentation
- Loading branch information
Showing
2 changed files
with
68 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: Vault | ||
prev: /wiki/guide/playbooks | ||
--- | ||
|
||
The playbook allows the end-user to perform various Ansible Vault related tasks, like listing currently encrypted role variables, encryption of a specific role variable and update of Ansible Vault global password. | ||
|
||
<!--more--> | ||
|
||
{{< callout type="info" >}} | ||
Refer to the Ansible [tutorial](/k3s-cluster/tutorials/handbook/ansible), for usage of encrypted variables and files. | ||
{{< /callout >}} | ||
|
||
## Execution | ||
|
||
Example of playbook execution, using the Ansible Vault global password: | ||
|
||
```shell | ||
ansible-playbook --ask-vault-pass vault.yaml | ||
``` | ||
|
||
Ansible Vault global password prompt: | ||
|
||
```shell | ||
Vault password: my-Gl0bal-Passw0rd |