Difference between revisions of "Ansible Vault"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
==Run yml file that== | ==Run yml file that== | ||
ansible-playbook ymlfile.yml --ask-vault-pass | ansible-playbook ymlfile.yml --ask-vault-pass | ||
== View a vaulted yml file == | |||
ansible-vault view ymlfile.yml | |||
==Edit an existing vaulted yml file == | |||
ansible-vault edit ymlfile.hml | |||
=[[Ansible| Ansible Menu]]= | |||
[[Category:Ansible]] |
Revision as of 20:29, 27 July 2022
Secure your Ansible YML files
ansible-vault create ymlfile.yml
Run yml file that
ansible-playbook ymlfile.yml --ask-vault-pass
View a vaulted yml file
ansible-vault view ymlfile.yml
Edit an existing vaulted yml file
ansible-vault edit ymlfile.hml