Edit Ansible Vault with Nano

Simply, add env Editor=nano prior to your ansible-vault command.

env EDITOR=nano ansible-vault edit secret-file.cfg

Leave a Reply

Your email address will not be published. Required fields are marked *