Hello,
I have a playbook, I run it on my server with command (sth like ansible-playbook myplaybook.yml -i myinventory.yml -e @myvariables.yml) first , it worked well.
My goal is to run it on AAP (ansible automation platform) console, so I configured a job template, set variables and inventory file for it, but when I run it, it gave me a warning like below “Could not match supplied host patter, ignoring: xxx”, the playbook just stopped, however, if I run it with command on my ansible server, playbook could run and gave me the expected result
At this point, I think I did NOT configure the inventory correctly for my playbook, I copied the content from myinventory.yml and pasted it in the variables of the inventory record in AAP console, please see the picture above
I tried to search for some instructions about how to configure inventory in AAP console, but there is limited information about it, it’s appreciated if anyone can provide some information about how to configure inventory on AAP console.