Ansible Vault

From rbachwiki
Jump to navigation Jump to search

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

View list of Vault options

ansible-vault --help

Encript existing files

ansible-vault encript file.yml

Ansible Menu