Difference between revisions of "Ansible Vault"

From rbachwiki
Jump to navigation Jump to search
(Created page with "= Secure your Ansible YML files= ansible-vault create ymlfile.yml ==Run yml file that")
 
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
  ansible-vault create ymlfile.yml
  ansible-vault create ymlfile.yml


==Run yml file that
==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| Ansible Menu]]=
[[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