Sensor problems

Sometimes the problem isn’t in the underlying system, but it’s in the sensor you’re using. When you’re trying something new, you’re more likely to think it’s the new thing you’re trying that’s broken.

I’m using a feature of ansible I hadn’t used before,limiting host when including a playbook. Unfortunately, it didn’t seem to be working right for me. I was testing it out using the --limit-hosts flag, which just shows you what hosts are going to run instead of actually running the ansible tasks on those hosts.

It turns out, list-hosts doesn’t work when you limit hosts with includes. I thought the feature was broken, but it works fine.

This entry was posted in ansible. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s