Ansible : ERROR! Decryption failed

1,133 views
Skip to first unread message

Swathi Cutie

unread,
Dec 1, 2016, 11:16:05 AM12/1/16
to Ansible Project
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!

Kai Stian Olstad

unread,
Dec 1, 2016, 2:48:27 PM12/1/16
to ansible...@googlegroups.com
Do you have the correct password in ~/password.txt
That file should only contain the password and noting else.

--
Kai Stian Olstad
Reply all
Reply to author
Forward
0 new messages