Oct 7, 2020 in Ansible
Q: How to create encrypted files using Ansible?

1 Answer

0 votes
Oct 7, 2020

1) The main command to manage the encrypted content is Ansible-vault. 

2) With this command, files can be encrypted and are used to edit, view, and decrypt the data. 

3) The new encrypted file is created by using Ansible-vault to create a command by just passing the file name. 

4) As an example; to create Hello.yml use below command:

$ Ansible-Vault create Hello.yml

Related questions

0 votes
Feb 21, 2020 in Ansible
+1 vote
May 8, 2020 in Ansible
...