Hi, Perhaps it is only a problem in your example but in the example you appear to use an IP address for by a port. (x.x.x.x:5601) but in the playbook you seem to use a hostname.
Could it be a name resolution issue? Does it work if you hardcode the exact same URL in the playbook? Another thing I noticed is that the URL in the playbook has a suffix of -ki01 (url: "https://{{ region }}-ki01:5601/api/spaces/space"). Is that intentional? Hth Bram On Thu, 5 Dec 2019, 01:25 Robert Heppe, <[email protected]> wrote: > Thanks Nick, > > I have not. I just tried this but get another error for the , at the end > of the line. So I removed them and it errors again. > > body: > "id": "{{ customer_id }}" > "name": "{{ customer_name }}" > "disabledFeatures": > ["visualize","dev_tools","advancedSettings","indexPatterns","savedObjectsManagement","timelion","graph","monitoring","ml","apm","maps","canvas","infrastructure","logs","siem","uptime"] > > Could you post your entire uri block as an example and I could try to > modify mine to match the syntax? > > -- > 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/e11f6957-1b70-42bf-a951-2b2595ccf4aa%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/e11f6957-1b70-42bf-a951-2b2595ccf4aa%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/CAKxHvy3bfMaxL9LutAtAtuPuT1TuAx9NNsjMzzdkNH_nQrk0Wg%40mail.gmail.com.
