I am new to Ansible and i have a question about limitting hosts in a host group at running commands.I have these host groups in my inventory:
i have thses configuration in my
- hosts: primary
for example i want to run this command
ansible -playbook -i /path test.yml --tags automation on
host2 only. what should i do?