>From https://extensions.gocd.org/, I am trying to download LDAP 
Authorization Plugin using ansible 'get_url' module however, its not 
downloading the "gocd-ldap-authorization-plugin-2.1.0-62.jar" file.

Any suggestions will be more than appreciated.

CURL command (which is working fine)

curl -L -o 'gocd-ldap-authorization-plugin-2.1.0-62.jar' --fail -H 'Accept: 
binary/octet-stream' --user 'USER-NAME:YOUR-PASSWORD' 
'https://extensions.gocd.org/addons/ldap/versions/2.1.0-62/download?eula_accepted=true'


- name: download ldap-authorization plugin
get_url:
url: 
"https://extensions.gocd.org/addons/ldap/versions/2.1.0-62/download?eula_accepted=true";
dest: "{{ GO_WORK_DIR 
}}/plugins/external/gocd-ldap-authorization-plugin-2.1.0-62.jar"
url_username: "{{ gocd_extension_username }}"
url_password: "{{ gocd_extension_password }}"
mode: 0440
become: true
become_user: go

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to