<p dir="auto">I'm using ansible 2.0.0.1 and while excuting any command on the remote server or local server, I'm getting following error</p>
<p dir="auto">[root@wautomation-tst01 ansible]# ansible werindbalajil01 -l ping<br>
ERROR! need more than 2 values to unpack</p>
<p dir="auto">I trying reinstalling, but still getting the same issue</p>
<p dir="auto">anybody help?</p>
<h5 dir="auto">Issue Type:</h5>
<p dir="auto">Can you help us out in labelling this by telling us what kind of ticket this this?  You can say:</p>
<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">Ansible Version:</h5>
<p dir="auto">Ansible 2.0.0.1</p>
<h5 dir="auto">Ansible Configuration:</h5>
<p dir="auto">Nothing, i just finished installing the ansible in Oracle Linuc 6.4 (same kernal as RHEL 6), after the installation when i try to execute any ansible core commands (such as Ping, file or Setup) are showing following error</p>
<h5 dir="auto">Environment:</h5>
<p dir="auto">OEL 6.3<br>
[root@wautomation-tst01 ansible]# uname -a<br>
Linux wautomation-tst01.us.int.rci.com 2.6.39-400.109.4.el6uek.x86_64 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3525390" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/1" data-hovercard-type="issue" data-hovercard-url="/ansible/ansible/issues/1/hovercard" href="https://github.com/ansible/ansible/issues/1">#1</a> SMP Mon Jul 22 11:44:00 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux</p>
<p dir="auto">Python version<br>
[root@wautomation-tst01 ansible]# python --version<br>
Python 2.6.6</p>
<h5 dir="auto">Summary:</h5>
<p dir="auto">When i try to use the basic ansible command it coming with following error<br>
ERROR! need more than 2 values to unpack</p>
<h5 dir="auto">Steps To Reproduce:</h5>
<p dir="auto">running any ansuble core commands. E.g</p>
<p dir="auto">[root@wautomation-tst01 ansible]# ansible 127.0.0.1 -m ping<br>
ERROR! need more than 2 values to unpack<br>
[root@wautomation-tst01 ansible]# ansible -vvv 127.0.0.1 -m ping<br>
Using /etc/ansible/ansible.cfg as config file<br>
ERROR! need more than 2 values to unpack</p>
<h5 dir="auto">Expected Results:</h5>
<p dir="auto">ping command output</p>
<h5 dir="auto">Actual Results:</h5>
<p dir="auto">[root@wautomation-tst01 ansible]# ansible -vvv 127.0.0.1 -m ping<br>
Using /etc/ansible/ansible.cfg as config file<br>
ERROR! need more than 2 values to unpack</p>
<p dir="auto">Issue Type:<br>
Bug Report</p>
<p dir="auto">Ansible Version:<br>
2.0.0.2<br>
&lt;=1.9.4 is not affected</p>
<p dir="auto">Ansible Configuration:<br>
Default (no ansible.cfg)</p>
<p dir="auto">Environment:<br>
Gentoo amd64</p>
<p dir="auto">Summary:<br>
After upgrading to ansible 2.0 (2.0.0.2) it began to give me an error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;ERROR! need more than 2 values to unpack&quot;"><pre class="notranslate"><code class="notranslate">"ERROR! need more than 2 values to unpack"
</code></pre></div>
<p dir="auto">when I have spaces in group names in my inventory files. It was ok when I have ansible 1.9.4.</p>
<p dir="auto">Steps To Reproduce:<br>
Install ansible 2.0.<br>
Make test inventory file:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ cat hosts
[test group]
localhost"><pre class="notranslate"><code class="notranslate">$ cat hosts
[test group]
localhost
</code></pre></div>
<p dir="auto">Expected Results:<br>
<code class="notranslate">ansible -m ping -i hosts all</code><br>
should start successfully</p>
<p dir="auto">Actual Results:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ansible -i hosts -m ping all -vvv
No config file found; using defaults
ERROR! need more than 2 values to unpack"><pre class="notranslate"><code class="notranslate">$ ansible -i hosts -m ping all -vvv
No config file found; using defaults
ERROR! need more than 2 values to unpack
</code></pre></div>