Add vars support to ansible watches #2138
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
language/ansible
Issue is related to an Ansible operator project
Feature Request
With ansible watches, you can specify a
playbook
orrole
, but cannot also specifyvars
. With the finalizer, you can also specifyvars
.In my case, I am creating a number of CRDs with a similar function, it would be good to run them through the same playbook but with different
vars
. If I could specify thevars
in the watch, it would make it really easy. Instead, I will have to use separate playbooks for each CRD that each call the same roles.Example
watches.yaml
if vars were supported:The text was updated successfully, but these errors were encountered: