A playbook. for each host generates a random password, sets it as root password on the host and stores, “:< pwd>” in local Ansible vault file.
How can I add new entries to the vault without creating a decrypted file ON DISK.
Ideally, I’d pipe the output of ‘ansible-vault decrypt’ output into a script that adds new data and then pipes it back to ansible-vault encrypt, so that the plain text only exists in memory.