Hi! I'm using the pattern outlined at https://github.com/ansible/ansible/pull/1956 to include playbooks for a limitted group of hosts. In short: --- # configure-webservers.yaml - name: configure the webservers hosts: webservers:&$hosts tasks: ...
--- # Configure staging server - include: configure-webservers.yaml hosts=staging However, this stopped working when upgrading to ansible 1.8.1. Is this a bug, or is passing variables to playbook includes like that not supported any more? If it's not supported any more, any other suggestions on how to do this? My use case is a rather general provising playbook - including multiple roles and possibly some custom tasks - which I want to be able to dynamically apply to some hosts from a playbook run. It shouldn't apply to "all" hosts though. Best regards, Wolfgang -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/03e0501f-ade6-4a4d-ae3a-59cc9eba118c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
