title: how to get the current executing host group_name not group_names in ansible?
body: <p>I have read <a href="https://stackoverflow.com/questions/49390513/how-do-you-get-group-name-of-the-executing-role-in-ansible">How do you get group name of the executing role in ansible</a> <br>
  I also read <a href="https://docs.ansible.com/ansible/latest/reference_appendices/special_variables.html" rel="nofollow noreferrer">https://docs.ansible.com/ansible/latest/reference_appendices/special_variables.html</a> <br>
  but I can't understand it.</p>
  
  <p>If the same host IP in different host_groups, I think: "ansible is separated execute when executing the host, it should belong to only one group_name, not group_names". <br>
  How can I get current executing host gorup_name, not group_names?</p>