Closed toabctl closed 3 years ago
(we may also need to update the doc/note in the settings).
@jhesketh I updated the comment in the settings and fixed linting. Should be good now. @kshtsk opinions?
Have you tested this @fileparam
?
Rather than comments I'm fine with that PR.
Instead of merging settings.ANSIBLE_EXTRA_VARS with the variable "extra_vars" provided by ansible_run_playbook(), decouple both variables. That way, extra_vars (the method parameter) can be set from the code (eg. the SES rook code) and settings.ANSIBLE_EXTRA_VARS can be set by the user and it can be something independent (eg. a file @foo.yaml).
Signed-off-by: Thomas Bechtold tbechtold@suse.com