Difference between revisions of "Ansible-vault"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
  
 
== Commands ==
 
== Commands ==
* <code>ansible-vault encrypt YOUR_FILE</code>
+
* <code>[[ansible-vault encrypt]] YOUR_FILE</code>
* <code>ansible-vault decrypt YOUR_FILE</code>
+
* <code>[[ansible-vault decrypt]] YOUR_FILE</code>
* <code>ansible-vault view YOUR_FILE</code>
+
* <code>[[ansible-vault view]] YOUR_FILE</code>
 
* <code>ansible-playbook --vault-id @prompt create-users.yml</code>
 
* <code>ansible-playbook --vault-id @prompt create-users.yml</code>
  

Revision as of 08:21, 17 December 2020

Support for saving encrypted information (passwords, API Keys ...) in playbooks using Ansible Vault (ansible-vault[1]) since 2014

ansible-vault encrypt passwords.yml[2][3]


ansible-vault [create|decrypt|edit|encrypt|rekey] [--help] [options] file_name


Commands

Activities

  1. Learn about ansible-vault common uses cases

Related terms

See also

  • https://docs.ansible.com/ansible/latest/user_guide/vault.html
  • https://docs.ansible.com/ansible/latest/user_guide/vault.html
  • http://manpages.org/ansible-vault
  • Advertising: