Hi All, Request you help, after upgrade ansible to 2.6 the password vault is not working as expected, and getting the below error, before the upgrade it was working fine without any issues.
*ansible-playbook /home/ansible/playbooks/oscheck.yml --syntax-check* [WARNING]: Error in vault password file loading (default): A vault password must be specified to decrypt data ERROR! A vault password must be specified to decrypt data *ansible --version* ansible 2.6.0 config file = /etc/ansible/ansible.cfg configured module search path = [u'/home/ansible/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible python version = 2.7.13 (default, Jan 11 2017, 10:56:06) [GCC] oscheck.yml --- - hosts: target become: true become_method: sudo gather_facts: no vars_files: - "/home/ansible/playbooks/target.yml" /etc/ansible/ansible.cfg # If set, configures the path to the Vault password file as an alternative to # specifying --vault-password-file on the command line. vault_password_file = /home/ansible/playbooks/target.pass From, Vino.B -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/4a918aaa-fdbf-42e6-bc18-654b6118380c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
