How to secure passwords in Ansible?
There is a feature named Vault in Ansible which helps IT professionals, to keep their sensitive data in encrypted files. The passwords or keys are secured extensively rather than in the form of plaintexts in Playbooks. A command-line tool named Ansible- vault tab is present in Ansible which is used to edit the files. Few common flexes are also used along with these command-line tools as ask-vault-pass or vault-password-file. In order to process the playbook containing vault encrypted files, you have to pass any of the two flags.