Hi All,
Trying to move my Ansible install from an Ubuntu 18 VM to WSL2 Ubuntu 18 and running into some weird issues. Installed Ansible fine and cloned repo that includes all my inventory, playbooks, vars etc but when it comes to running a playbookwith the following command
ansible-playbook play_aio.yml --limit=OFF00002.my.domain --ask-vault-pass --list-hosts
I get
[WARNING]: Could not match supplied host pattern, ignoring: OFF00002.bascom.local
ERROR! Specified hosts and/or --limit does not match any hosts
Even though when I run the lis command
ansible all --list
I can see the machine I’m trying to target.
Any Ideas?