How to Dynamically Set Host(s) for an Ansible Job/Playbook

Solution In Progress - Updated -

Issue

  • When managing several nodes, it may be necessary to dynamically choose one or more for playbook execution without needing to prepare multiple playbooks.

  • The goal is to have a single job with a playbook that can run for specific nodes each time.

Environment

  • Ansible Automation Platform 2.*

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content