You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create a basic example for this in my vSphere lab. I've applied the tf state below and the host is running.
When I run my test playbook as follows, the group is not matched ansible-playbook --inventory-file=terraform-inventory ../ansible/ubuntu_test.yml -u ubuntu
Output
PLAY [foo_bar] **************************************************************************************************************************************************************
skipping: no hosts matched
I took a look at #123 and I had the impression the correct syntax would be {tag-category}_{tag-name} which led me to believe that for my example that would be foo_bar, but alas. I also tried category_bar and category_tag, but the result is the same.
Could you please look into this or tell me where I'm going wrong?
I tried to create a basic example for this in my vSphere lab. I've applied the tf state below and the host is running.
When I run my test playbook as follows, the group is not matched
ansible-playbook --inventory-file=terraform-inventory ../ansible/ubuntu_test.yml -u ubuntu
Output
I took a look at #123 and I had the impression the correct syntax would be
{tag-category}_{tag-name}
which led me to believe that for my example that would befoo_bar
, but alas. I also triedcategory_bar
andcategory_tag
, but the result is the same.Could you please look into this or tell me where I'm going wrong?
Files:
ubuntu_test.yml
main.tf
The text was updated successfully, but these errors were encountered: