Yes I agree with you I have tried to narrow down the issue based on the https status error 409 but could n't be able to figure out. Let me try once . Thanks for all your help.
On Tuesday, April 19, 2022 at 6:04:21 PM UTC+2 [email protected] wrote: > I was under the impression that delegate_to comes prior the TASK's details, > like > > - name: Download dms ear file to local > delegate_to: localhost > > get_url: > url: "https://artifactory.sicpa.com/artifactory/{{ > artifactory_folder > }}/com/sicpa/gssd/tt040_my/server/dms/tt040_my-dms-ear/{{ > dms_release_version }}/tt040_my-dms-ear-{{ dms_release_version }}.ear" > <https://artifactory.sicpa.com/artifactory/%7B%7Bartifactory_folder%7D%7D/com/sicpa/gssd/tt040_my/server/dms/tt040_my-dms-ear/%7B%7Bdms_release_version%7D%7D/tt040_my-dms-ear-%7B%7Bdms_release_version%7D%7D.ear> > dest: /tmp > url_username: "{{ v_artifactory_user }}" > url_password: "{{ v_artifactory_passwd }}" > force_basic_auth: yes > #run_once: true > tags: deploy_dms > > > that aside the error messages makes me think to investigate what HTTP > Error 409 is > <https://www.ecosia.org/search?q=%22HTTP+Error+409%22&addon=opensearch> > and go further down that road > > > > > On 19.04.22 13:42, Ashok Reddy wrote: > > - name: Download dms ear file to local > get_url: > url: "https://artifactory.sicpa.com/artifactory/{{ > artifactory_folder > }}/com/sicpa/gssd/tt040_my/server/dms/tt040_my-dms-ear/{{ > dms_release_version }}/tt040_my-dms-ear-{{ dms_release_version }}.ear" > <https://artifactory.sicpa.com/artifactory/%7B%7Bartifactory_folder%7D%7D/com/sicpa/gssd/tt040_my/server/dms/tt040_my-dms-ear/%7B%7Bdms_release_version%7D%7D/tt040_my-dms-ear-%7B%7Bdms_release_version%7D%7D.ear> > dest: /tmp > url_username: "{{ v_artifactory_user }}" > url_password: "{{ v_artifactory_passwd }}" > force_basic_auth: yes > delegate_to: localhost > #run_once: true > tags: deploy_dms > > > error: > > TASK [Download dms ear file to local] > ****************************************** [0;31mfatal: [ > dmsdb.tt040int.dev.sicpa.io -> localhost]: FAILED! => {"changed": false, > "dest": "/tmp", "elapsed": 0, "gid": 0, "group": "root", "mode": "01777", > "msg": "Request failed", "owner": "root", "response": "HTTP Error 409: > Conflict", "size": 196, "state": "directory", "status_code": 409, "uid": 0, > "url": " > https://artifactory.sicpa.com/artifactory/gssd-dev-snapshots-local/com/sicpa/gssd/tt040_my/server/dms/tt040_my-dms-ear/2.6.0/tt040_my-dms-ear-2.6.0.ear"} > > [0m > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/f68918ba-c58a-466a-a11b-ebf1dc124ccfn%40googlegroups.com > > <https://groups.google.com/d/msgid/ansible-project/f68918ba-c58a-466a-a11b-ebf1dc124ccfn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/6860c316-f391-4480-aded-aab6e011ff25n%40googlegroups.com.
