Tag a specific host - nsg/ansible-inventory GitHub Wiki

You can tag a specific host like this:

root:
  - name: myhost
    tags:
      - mytag

See Variables to hosts and Tags and Groups for more info about tag groups and the name syntax.