[ansible-project] Loop over an array and assigning to url within uri module

2024-03-07 Thread Mohammed Reehan
Hi Team i have an array from my previous playbook and saving it as a fact called as "ansible_facts"{ "response_cloud_id": [ "34eedfc", "6733fdc" ] }, I want to use this response_cloud_id for each object as a variable and pass into my URI module in the URL https://cloudzone.net/api/{{

[ansible-project] Help needed on URI Module POST

2022-12-14 Thread Mohammed Reehan
Hi Ansible Experts, I am trying to using Ansible URI as below to post the content where my input is a variable of type Array in the body. i am trying to pass the input as Array into the body under Contentdetials which is an array. however it is ending up reading as string. any idea how can i

Re: [ansible-project] Basic Authencation using uri Module (Post)

2022-09-02 Thread Mohammed Reehan
Hello Experts, Hate to follow up but looking for a help/solution On Fri, Sep 2, 2022, 12:00 AM Mohammed Reehan wrote: > Apologize for the error that , it was a typo tbh. Well the issue is still > present. > > Thanks > Reehan > > On Thu, Sep 1, 2022, 11:56

Re: [ansible-project] Basic Authencation using uri Module (Post)

2022-09-01 Thread Mohammed Reehan
Apologize for the error that , it was a typo tbh. Well the issue is still present. Thanks Reehan On Thu, Sep 1, 2022, 11:56 PM Dick Visser wrote: > > > On Thu, 1 Sep 2022 at 19:45, Mohammed Reehan > wrote: > >> Hello Experts, >> >> Need your kind help, i a

[ansible-project] Basic Authencation using uri Module (Post)

2022-09-01 Thread Mohammed Reehan
Hello Experts, Need your kind help, i am running a basic POST call using ansible uri module with Basic Authencation below is the programtic code but i am getting 403 error. --- -name: Request API Token ansible.builtin.uri: url: "https"//vrlcm.local/lcm/authzn/api/login" method: POST

[ansible-project] Re: Ansible - AUtorizarion tokens with uri module

2022-07-18 Thread Mohammed Reehan
Any update on this On Friday, August 26, 2016 at 4:59:50 AM UTC+2 apriy...@gmail.com wrote: > Hi WHERE YOU ABLE TO SOLVE THIS ISSUE? > > > I AM ALSO GETTING THE SAME ERROR? > > > On Friday, April 15, 2016 at 5:41:15 AM UTC-7, John McCormack wrote: >> >> Hi >> I am trying to use the uri module