Ansible : ERROR! Decryption failed

Hi ,

I am a newbie to ansible

When i try to run the ansible-playbook i am getting a decryption failed error

[root@localhost infrastructure]# ansible-playbook -i /home/swathi/Desktop/infrastructure/production/ec2.py vertica_role.yml
ERROR! Decryption failed on /home/swathi/Desktop/infrastructure/production/group_vars/all/vault.yml

ansible --version
ansible 2.2.0.0
config file = /home/swathi/Desktop/infrastructure/ansible.cfg
configured module search path = Default w/o overrides

vi /home/swathi/Desktop/infrastructure/ansible.cfg

[defaults]
filter_plugins =./filter_plugins
roles_path = ./roles
sudo_user = root
host_key_checking = False
retry_files_enabled = False
vault_password_file = ~/password.txt

Please help!

Do you have the correct password in ~/password.txt
That file should only contain the password and noting else.