Dear all, I have created a jenkins role that creates a jenkins instance and add plugins. The task related to plugins is as follows :
- 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 }}" All variables being known from files in vars or defaults. Plugins listed in the {{ 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 -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7bb0d591-7110-437c-a9c5-7aa95e39a1b2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.