<p dir="auto">I am trying to use ansible, unfortunately It does not work with my list of hosts defined in .ssh/config.</p>
<p dir="auto">In paramiko mode - my hosts are throwing "Name of service not known" - my /etc/ansible/hosts file refers to aliases defined in .ssh/config.</p>
<p dir="auto">In -c ssh - it tries connect to default 22 port, instead of the ones defines in .ssh/config</p>
<h5 dir="auto">ISSUE TYPE</h5>

<ul dir="auto">
<li>Bug Report</li>
</ul>
<h5 dir="auto">ANSIBLE VERSION</h5>

<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.1.0.0."><pre class="notranslate"><code class="notranslate">ansible 2.1.0.0.
</code></pre></div>
<h5 dir="auto">CONFIGURATION</h5>

<h5 dir="auto">OS / ENVIRONMENT</h5>

<p dir="auto">N/A</p>
<h5 dir="auto">SUMMARY</h5>
<p dir="auto">I recently upgraded to ansible 2.1 from 1.9.1 in our development environment. I use virtualenv to install ansible 2.1 using pip. Recently while running the playbook, I got this error:</p>
<p dir="auto">fatal: [xxxxx-dev.com]: FAILED! =&gt; {"changed": false, "failed": true, "msg": "unsupported parameter for module: gather_subset"}<br>
I see that in Ansible 2.1, they have added a new capability to gather limited facts about hosts but by default it sets gather_subset to all. Thus, I have not set this value in my config file and expect it to default to all.</p>
<p dir="auto">This failure is happening intermittently. I also read here that if ansible is installed separately through apt as well, it may cause issues but since I'm using venv, I'd assume that it will be forced to use version 2.1. Any help is appreciated.</p>
<h5 dir="auto">STEPS TO REPRODUCE</h5>


<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate">
</code></pre></div>

<h5 dir="auto">EXPECTED RESULTS</h5>

<h5 dir="auto">ACTUAL RESULTS</h5>


<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=""><pre class="notranslate"><code class="notranslate">
</code></pre></div>