I’d like to know how to conditionally import a playbook.
I have a master playbook which calls several others
The master looks like this:
`
I’d like to know how to conditionally import a playbook.
I have a master playbook which calls several others
The master looks like this:
`
It's not possible. "import_playbook" is not a task. Conditions don't apply
here. It's an open issue
Conditionally import_playbook aka include_playbook #34281
https://github.com/ansible/ansible/issues/34281
Cheers,
-vlado
Thanks! I figured it was a bit of a limitation at this point. Would be great to have this added at some point