Jenkins can be used as an interface to a playbook as follows:
-
For gathering values of extra-vars required to run a playbook using Jenkins job form.
-
For generating hosts lists and configuration items from Ansible vars modules or from any repository that could be accessed from Jenkins server.
-
For managing credentials that can be retrieved and be injected into the environment where playbook runs the scripts.