- name: Install plugins
jenkins_plugin:
group: "{{ jenkins_process_group }}"
owner: "{{ jenkins_process_user }}"
name: "{{ item }}"
state: latest
url: "http://{{ jenkins_hostname }}:{{ jenkins_http_port }}{{ jenkins_url_prefix }}"
url_username: "{{ jenkins_admin_name }}"
url_password: "{{ jenkins_admin_password }}"
with_dependencies: yes
with_items: "{{ jenkins_plugins }}"
notify: restart jenkins
become: True
become_user: "{{ jenkins_process_user }}"
{{ jenkins_plugins }} list are those I actually want. No dependency is listed here as I was hoping that the
with_dependencies: yes clause will install them.
It is absolutely not the case !
The listed plugins are installed (so there is no access rights or credentials problem), but the dependencies are not.
When going to the WEB UI, I have a context page that suggests me to install dependencies.
I can't find a way to get rid off that... If someone could help ?
Best Regards
J-L
state: latest