>
> state: latest
>

Please remove this and try. 

On Tuesday, April 3, 2018 at 5:43:45 PM UTC+5:30, JiElPe-Fr38 wrote:
>
> 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/9cd2ff4f-7f06-4393-819e-9a310d74ee52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to