<h5 dir="auto">Issue Type:</h5>
<p dir="auto">“Bug Report”</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">ansible 1.7.1</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Ubuntu 12.04, Python 2.7.3 in virtualenv.</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">I use this often with no problem:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-vault edit myfile.yml.encrypted --vault-password-file=~/ansible_password"><pre class="notranslate"><code class="notranslate">ansible-vault edit myfile.yml.encrypted --vault-password-file=~/ansible_password
</code></pre></div>
<p dir="auto">But this fails:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-vault decrypt myfile.yml.encrypted --vault-password-file=~/ansible_password"><pre class="notranslate"><code class="notranslate">ansible-vault decrypt myfile.yml.encrypted --vault-password-file=~/ansible_password
</code></pre></div>
<p dir="auto">with <code class="notranslate">ERROR: Values instance has no attribute 'vault_password_file'</code></p>
<h5 dir="auto">Steps To Reproduce:</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="openssl rand -base64 12 &gt; /tmp/ansible-password
echo 'foo: bar' &gt; /tmp/file.yml
ansible-vault encrypt /tmp/file.yml --vault-password-file=/tmp/ansible-password
ansible-vault edit /tmp/file.yml --vault-password-file=/tmp/ansible-password
ansible-vault decrypt /tmp/file.yml --vault-password-file=/tmp/ansible-password"><pre class="notranslate"><code class="notranslate">openssl rand -base64 12 &gt; /tmp/ansible-password
echo 'foo: bar' &gt; /tmp/file.yml
ansible-vault encrypt /tmp/file.yml --vault-password-file=/tmp/ansible-password
ansible-vault edit /tmp/file.yml --vault-password-file=/tmp/ansible-password
ansible-vault decrypt /tmp/file.yml --vault-password-file=/tmp/ansible-password
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">The decrypt command should decrypt the file.</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">I get <code class="notranslate">ERROR: Values instance has no attribute 'vault_password_file'</code></p>
<h5 dir="auto">Issue Type: Bug Report</h5>
<h5 dir="auto">Ansible Version: 1.8 and 1.7.1</h5>
<h5 dir="auto">Environment: All</h5>
<h5 dir="auto">Summary: Mis-named variable breaks "ansible-vault decrypt" when used with --vault-password-file</h5>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">ansible-vault decrypt --vault-password-file=~/.password_file </p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">"File Decrypted"</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">"ERROR: Values instance has no attribute 'vault_password_file'"</p>