Hi Ashok,

It does appear as though the task has done its work well, there is an
article here
https://jfrog.com/knowledge-base/how-to-resolve-the-replication-error-conflict-409/
that should be able to give you an indicator as to what has gone wrong. The
actual api is documented here
https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API

Regards

On Tue, 26 Apr 2022 at 20:56, Ashok Reddy <[email protected]> wrote:

> Hi ,
>
> Can some one help me the issue?
>
> I could n't be able to figure it out .
>
>
> On Thursday, April 21, 2022 at 7:13:35 AM UTC+2 Ashok Reddy wrote:
>
>> 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/ce949bfc-a97c-47b8-b939-e5e9af7d8134n%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/ce949bfc-a97c-47b8-b939-e5e9af7d8134n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
if in trouble, or in doubt
run in circles, scream and shout

-- 
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/CA%2B8iFp4F7w7VqfwndaJPdXWOxUrCi-hrbs3MWBOW_Jcz6egnLA%40mail.gmail.com.

Reply via email to