I took the route of using children groups. Too bad there wasn't a way to pull a group and pick a value in that group passing to the Hosts: value in a playbook. Thanks for the assist/suggestions Stefan.
On Sunday, April 12, 2020 at 1:04:42 AM UTC-5, Adam McGill wrote: > > > Is it possible to specify in a playbook hosts value to be a group item > from hosts file? > > *example:* > > Hosts file contains: > > [groupone] > comname1 > comname2 > comname3 > > in the playbook would like it to grab the group (groupone) but only apply > the playbook routine to a name/value in that group and not all in that > group. > > groupone | comname2 > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/bb672f61-b47b-4d30-9707-2c681c42f64a%40googlegroups.com.
