March 2019
Intermediate to advanced
412 pages
9h 49m
English
To create new files, Ansible provides a new program, ansible-vault. This program is used to create and interact with Vault-encrypted files. The subcommand to create encrypted files is create, as shown in the following screenshot:

To create a new file, you'll need to know two things ahead of time. The first is the password ansible-vault will be using to encrypt the file, and the second is the filename itself. Once provided with this information, ansible-vault will launch a text editor (as defined in the EDITOR environment variable). Once you save the file and exit the editor, ansible-vault will use the supplied ...
Read now
Unlock full access