I have a local playbook on my laptop which I use to build local vms for testing. I have noticed recently (with the update to Ansible 2.9) that I have been having issues with the playbook running successfully. It used to work perfectly fine.
ansible version = ansible-2.9.4-1.el8ae.noarch
$ cat vars.yml
In you subject you are hinting of problem with hostvars but that is working fine.
As you can see it is trying to run against 192.168.122.206 but you get "no hosts matched".
Your new host, 192.168.122.206, is not in your Ansible inventory so it can't find it.
How is this new host supposed to appear/be added to the the inventory?
And that is why I opened this!!! I recently did an upgrade (RHEL7 → RHEL8) so it wiped my /etc/ansible/hosts file. Totally forgot I had added 192.168.122.[1:255] to it!
Thanks Kai!