Difference between revisions of "Ansible Vault"

From rbachwiki
Jump to navigation Jump to search
 
Line 16: Line 16:


  ansible-vault --help
  ansible-vault --help
==Encript existing files ==
ansible-vault encript file.yml


=[[Ansible| Ansible Menu]]=
=[[Ansible| Ansible Menu]]=
[[Category:Ansible]]
[[Category:Ansible]]

Latest revision as of 20:32, 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

View list of Vault options

ansible-vault --help

Encript existing files

ansible-vault encript file.yml


Ansible Menu