How can I reference a tower inventory group from the playbook? My playbook is calling specific roles, each role will call on a different inventory group from tower.
So far what I have tried is:
host: "{{ inventory_hostname in groups['ios'] }}"
or
host: "ios"
or
host: ios
Is it just my syntax there on the templating? I can't find any reference to this when using a tower inventory group.
I get some type of error stating could not be found, or attempting to acctually connect to "ios"
"failed to connect to ios:22"