That syntax is OK, but your problem isn't about the syntax.
It's about the content that you post to the API.

I will tell you one more time: your problem is NOT with ansible.
Ansible is irrelevant in this case.

Your problem is with the data you post to the API.

Find a solution for that, phone up the admins of your API, read the docs, or do something else.


Dick




On 2022-05-05 (Thu) 12:00, Ashok Reddy wrote:
Ok got it let me try.

I have written some code in ansible.
Can you please let me know, whether it is syntax wise correct or not?

ansible-playbook --extra-vars "artifactory_folder=gssd-dev-snapshots-local" playbooks/deploy.yml



On Thursday, May 5, 2022 at 5:03:13 AM UTC+2 [email protected] wrote:

    I don't know what 'jfrog' is and what that has to do with this.
    Either way you should consult the docs for the api you're trying to
    use, which (from your playbook and errors) is at

    https://artifactory.sicpa.com/ <https://artifactory.sicpa.com/>.

    That should give you the information you need, to avoid errors like
    you got.



    Sent from a mobile device
    ------------------------------------------------------------------------
    *From:* [email protected] <[email protected]> on
    behalf of Ashok Reddy <[email protected]>
    *Sent:* Thursday, May 5, 2022 4:40:13 AM
    *To:* Ansible Project <[email protected]>
    *Subject:* Re: [ansible-project] Regarding get_url issue in ansible
    Thanks for your input, but not sure how to verify jfrog API?
    Can you please help me, meanwhile I can try to figure it?

    Note: r u suggesting me to check jfrog API or else?

    On Tuesday, April 26, 2022 at 6:12:54 PM UTC+2 [email protected] wrote:

        On 2022-04-26 (Tue) 13:25, Ashok Reddy wrote:
         > Hi ,
         >
         > Can some one help me the issue?
         >
         > I could n't be able to figure it out .

        The error you're getting is from the API at
        https://artifactory.sicpa.com <https://artifactory.sicpa.com>,
        and has nothing to do with the ansible
        get_url module that is used to interact with it.

        get_url is merely a conveyor belt that is used to send your
        (incorrect)
        data.

        You should find out how that API is supposed to be used.


-- Dick Visser
        GÉANT

-- 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/d1807bab-e5b4-4c68-b974-1a5f14dce4c1n%40googlegroups.com
    
<https://groups.google.com/d/msgid/ansible-project/d1807bab-e5b4-4c68-b974-1a5f14dce4c1n%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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d8669df7-cc18-4dc9-aecb-e3df88a79133n%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/d8669df7-cc18-4dc9-aecb-e3df88a79133n%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/3fcdd751-32c9-cd07-b092-d13d13bcfe79%40geant.org.

Attachment: OpenPGP_0x266713D4E6EF488D.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to