title: Filter Centos 6 only with Ansible setup and filter | not using ansible-playbook
body: <p>I am trying to list out all Centos 6 servers and want to prepare its OS up-gradation.</p>
  <p>For a single command, I use:</p>
  <pre><code># ansible myhost -b -m setup -a 'filter=ansible_distribution_major_version'
  </code></pre>
  <p>As you know, it simply lists out all Centos 6, 7, 8, but I want only Centos 6 servers. How to filter that in a single command for handy instead of a YAML file and running it using ansible-playbook.</p>