Update README.md

This commit is contained in:
Juan Ferrer 2024-09-27 18:40:10 +00:00
parent 1553e27281
commit a6bb9da5c4
1 changed files with 5 additions and 6 deletions

View File

@ -23,17 +23,16 @@ ansible-playbook.sh -i <ip_or_hostname>, [--tags tag1,tag2] playbooks/test.yml
## Manage vault
When running playbooks that use the vault, the *vault-playbook.sh* script can
be used, it is ovelay over the original *ansible-playbook* command. Note that
password must be saved into *.vaultpass* file.
To manage Ansible vault place the password into *.vaultpass* file.
Edit vault file.
```
ansible-vault edit vault.yml
ansible-vault {view,edit} --vault-pass-file .vaultpass vault.yml
```
When running playbooks that use the vault the *vault-playbook.sh* script can
be used, it is ovelay over the original *ansible-playbook* command.
## Common playbooks
* **facts.yml**: Collect and display facts from a host