<p dir="auto">Regarding <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="48718782" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/9556" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/9556/hovercard" href="https://github.com/ansible/ansible/issues/9556">#9556</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="44085865" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/9172" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/9172/hovercard" href="https://github.com/ansible/ansible/issues/9172">#9172</a>, I would like to suggest the following feature request:<br>
In ansible-playbooks support decrypting files on copy:<br>
<code class="notranslate">copy: src=somefile.key dest=/etc/apache2/ssl/ decrypt=yes</code><br>
Where somefile.key is encrypted with ansible-vault. That would be better usability.</p>
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Bug Report</p>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto"><code class="notranslate">ansible 1.8.2</code></p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">Mac OSX 10.9 running against Ubuntu 14.04.</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">When defining a string, trailing <code class="notranslate">0</code>s get removed.</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">In my inventory:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="server apples=&quot;1.20&quot;"><pre class="notranslate"><code class="notranslate">server apples="1.20"
</code></pre></div>
<p dir="auto">In my playbook:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="debug msg=&quot;{{ apples }}&quot;"><pre class="notranslate"><code class="notranslate">debug msg="{{ apples }}"
</code></pre></div>
<p dir="auto">Output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="TASK: [playbook | debug msg=&quot;{{ apples }}&quot;] ************************** 
ok: [server] =&gt; {
    &quot;msg&quot;: &quot;1.2&quot;
}"><pre class="notranslate"><code class="notranslate">TASK: [playbook | debug msg="{{ apples }}"] ************************** 
ok: [server] =&gt; {
    "msg": "1.2"
}
</code></pre></div>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">1.20</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">1.2</p>