Difference between revisions of "Ansible Vault"

From rbachwiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:


  ansible-vault edit ymlfile.hml
  ansible-vault edit ymlfile.hml
==View list of Vault options==
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