title: How to call a role using Ansible tags ??
body: <p>So i am having a structure like roles/base/tasks/main.yml  &amp; another file right above the roles/ directory with name base.yml which basically calls the base role.
  My problem is this, ansible docs suggest </p>
  
  <pre><code>roles:
    - { role: webserver, port: 5000, tags: [ 'web', 'foo' ] }
  </code></pre>
  
  <p>to call the main.yml if i have a tag defined as 'web'. I tried it but it didn't work &amp; yes i saw a post on reddit too ---> <a href="https://www.reddit.com/r/ansible/comments/3628s8/question_about_using_tags_in_roles/" rel="nofollow">https://www.reddit.com/r/ansible/comments/3628s8/question_about_using_tags_in_roles/</a> </p>
  
  <p>Soo is there a WAY to call tags defined in a role using .yml instead of the adhoc command , coz my deployment strategies don't allow me to run a adhoc command</p>