# \#api

**URL:** https://forum.ansible.com/tag/api/241.md

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

---

## [AWX modernization: Exploring the OpenAPI specification in AWX community documentation](https://forum.ansible.com/t/awx-modernization-exploring-the-openapi-specification-in-awx-community-documentation/45198)

<div class="topic-metadata">

**Author:** [@tvo318](https://forum.ansible.com/u/tvo318)\
**Replies:** 5\
**Last updated:** [January 28, 2026, 9:57am UTC](https://forum.ansible.com/t/awx-modernization-exploring-the-openapi-specification-in-awx-community-documentation/45198 "2026-01-28T09:57:21Z")

</div>

Hi everyone, I want to follow up on the previous post about the AWX modernization effort with some progress on the developer documentation front. We’ve just merged pull request (PR) #16221 to render the OpenAPI specifi…

---

## [Creating Centreon ansible module](https://forum.ansible.com/t/creating-centreon-ansible-module/45122)

<div class="topic-metadata">

**Author:** [@Parnoud](https://forum.ansible.com/u/Parnoud)\
**Replies:** 5\
**Last updated:** [January 20, 2026, 2:43pm UTC](https://forum.ansible.com/t/creating-centreon-ansible-module/45122 "2026-01-20T14:43:39Z")

</div>

Hello, new here ! I face issue at work with centreon, and i figured out that Centreon didn"t create ansible module for manage it. I take some time do start create one. I 'm trying to do it the right way so if you got s…

---

## [Which tool to use for auto-generating Ansible modules from OpenAPI definitions?](https://forum.ansible.com/t/which-tool-to-use-for-auto-generating-ansible-modules-from-openapi-definitions/45091)

<div class="topic-metadata">

**Author:** [@stdevel](https://forum.ansible.com/u/stdevel)\
**Replies:** 2\
**Last updated:** [January 13, 2026, 4:05pm UTC](https://forum.ansible.com/t/which-tool-to-use-for-auto-generating-ansible-modules-from-openapi-definitions/45091 "2026-01-13T16:05:40Z")

</div>

Hello everybody, I’m currently trying to auto-generate Ansible modules from OpenAPI (Swagger) definitions. During research I stumbled upon the ansible.content\_builder collection. This collection is suspect to be replace…

---

## [Dynamically Provisioning SSH Creds](https://forum.ansible.com/t/dynamically-provisioning-ssh-creds/44771)

<div class="topic-metadata">

**Author:** [@AmirShalom](https://forum.ansible.com/u/AmirShalom)\
**Replies:** 0\
**Last updated:** [October 31, 2025, 6:01pm UTC](https://forum.ansible.com/t/dynamically-provisioning-ssh-creds/44771 "2025-10-31T18:01:31Z")

</div>

I am trying to dynamically determine the machine SSH credential to be used by a workflow job node at runtime, via the API. While I can determine the credential ID, I am trying to pass the Credential ID to my /workflow\_j…

---

## [Error connecting to AWX API, GuzzleClient: cURL error 35: OpenSSL SSL\_connect: SSL\_ERROR\_SYSCALL](https://forum.ansible.com/t/error-connecting-to-awx-api-guzzleclient-curl-error-35-openssl-ssl-connect-ssl-error-syscall/44264)

<div class="topic-metadata">

**Author:** [@gmaddock](https://forum.ansible.com/u/gmaddock)\
**Replies:** 0\
**Last updated:** [August 8, 2025, 7:33pm UTC](https://forum.ansible.com/t/error-connecting-to-awx-api-guzzleclient-curl-error-35-openssl-ssl-connect-ssl-error-syscall/44264 "2025-08-08T19:33:09Z")

</div>

I’m building an integration into a PHP app which currently connects to a legacy Ansible server, and will be migrating to connecting to an AWX API server. Both are using v2. With the new integration, I try to connect to…

---

## [Any ideas on how to debug the lack of an API response to Stardog DB backup?](https://forum.ansible.com/t/any-ideas-on-how-to-debug-the-lack-of-an-api-response-to-stardog-db-backup/43555)

<div class="topic-metadata">

**Author:** [@bcaines](https://forum.ansible.com/u/bcaines)\
**Replies:** 0\
**Last updated:** [June 25, 2025, 5:30pm UTC](https://forum.ansible.com/t/any-ideas-on-how-to-debug-the-lack-of-an-api-response-to-stardog-db-backup/43555 "2025-06-25T17:30:08Z")

</div>

So I’m trying to create an ansible task that will backup a Stardog DB that I can either run separately or with other scripts. If I run what looks like the same exact thing in Bruno, it runs for about 7 minutes then I get…

---

## [Best way to handle an API key](https://forum.ansible.com/t/best-way-to-handle-an-api-key/43439)

<div class="topic-metadata">

**Author:** [@ekynox360](https://forum.ansible.com/u/ekynox360)\
**Replies:** 4\
**Last updated:** [June 17, 2025, 2:25pm UTC](https://forum.ansible.com/t/best-way-to-handle-an-api-key/43439 "2025-06-17T14:25:11Z")

</div>

Hi, I’ve written an Ansible role where I retrieve an API key and persist it using the Register module. This key is obviously only available to this role, but I’d like it to be available to other roles that query the tar…

---

## [Create/Update only one variable without overwrite all variables by API](https://forum.ansible.com/t/create-update-only-one-variable-without-overwrite-all-variables-by-api/4005)

<div class="topic-metadata">

**Author:** [@jo.salesmj](https://forum.ansible.com/u/jo.salesmj)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 4:59pm UTC](https://forum.ansible.com/t/create-update-only-one-variable-without-overwrite-all-variables-by-api/4005 "2025-02-22T16:59:19Z")

</div>

Hello everyone, I’m trying to update just one variable of an AWX host through the API, but the request is overwriting all variables. Can anyone confirm if this is possible or guide me on the best approach? The request …

---

## [Small (tiny?) example module and service which use a httpapi connection?](https://forum.ansible.com/t/small-tiny-example-module-and-service-which-use-a-httpapi-connection/2868)

<div class="topic-metadata">

**Author:** [@jpmens](https://forum.ansible.com/u/jpmens)\
**Replies:** 2\
**Last updated:** [January 21, 2025, 10:42am UTC](https://forum.ansible.com/t/small-tiny-example-module-and-service-which-use-a-httpapi-connection/2868 "2025-01-21T10:42:46Z")

</div>

Does anybody have a very basic (demo-style) implementation of an Ansible module and associated Python back-end service which use a connection: httpapi? During trainings I’d like to be able to demonstrate a play with a t…

---

## [Issues linking parent interface with netbox\_device\_interface module](https://forum.ansible.com/t/issues-linking-parent-interface-with-netbox-device-interface-module/9690)

<div class="topic-metadata">

**Author:** [@sam\_karateman](https://forum.ansible.com/u/sam_karateman)\
**Replies:** 1\
**Last updated:** [October 10, 2024, 7:27pm UTC](https://forum.ansible.com/t/issues-linking-parent-interface-with-netbox-device-interface-module/9690 "2024-10-10T19:27:26Z")

</div>

Hello, I’m attempting to use the netbox.netbox.netbox\_device\_interface module to create an interface and assign a parent interface to it. Here are the tasks I’m using to get the ID from the API: - name: Get bon…

---

## [Getting URI Error While Receiving Response from Ansible](https://forum.ansible.com/t/getting-uri-error-while-receiving-response-from-ansible/8194)

<div class="topic-metadata">

**Author:** [@manish\_singh](https://forum.ansible.com/u/manish_singh)\
**Replies:** 8\
**Last updated:** [September 1, 2024, 2:06pm UTC](https://forum.ansible.com/t/getting-uri-error-while-receiving-response-from-ansible/8194 "2024-09-01T14:06:07Z")

</div>

Hi everyone, I’m encountering an issue with my Ansible setup. When trying to send a request to a specific URI, I receive an error and the request is not sent. The URI in question is similar to https://example.com/api/v2…

---

## [Problems with AWX REST API schema definition](https://forum.ansible.com/t/problems-with-awx-rest-api-schema-definition/7757)

<div class="topic-metadata">

**Author:** [@TimS](https://forum.ansible.com/u/TimS)\
**Replies:** 8\
**Last updated:** [August 29, 2024, 10:54pm UTC](https://forum.ansible.com/t/problems-with-awx-rest-api-schema-definition/7757 "2024-08-29T22:54:02Z")

</div>

First of all i am not sure if i am in the correct place but since i was a little lost in api specs: (Sorry your system didnt allow me to post links) Readhat api-catalog ansible-automation-controller AWX REST API Automa…

---

## [AWX API for Inventory Creation](https://forum.ansible.com/t/awx-api-for-inventory-creation/7563)

<div class="topic-metadata">

**Author:** [@prateektl](https://forum.ansible.com/u/prateektl)\
**Replies:** 2\
**Last updated:** [July 31, 2024, 1:48pm UTC](https://forum.ansible.com/t/awx-api-for-inventory-creation/7563 "2024-07-31T13:48:27Z")

</div>

The AWX API, which can be used to create the inventory is missing the parameter instance group in the document. I want to assign the instance group for the inventory when its created. Using the API’s there is no option t…

---

## [Filter API result by nested field](https://forum.ansible.com/t/filter-api-result-by-nested-field/6014)

<div class="topic-metadata">

**Author:** [@matthias1](https://forum.ansible.com/u/matthias1)\
**Replies:** 8\
**Last updated:** [May 31, 2024, 5:42am UTC](https://forum.ansible.com/t/filter-api-result-by-nested-field/6014 "2024-05-31T05:42:09Z")

</div>

I’m downloading a list of approvals: /api/v2/workflow\_approvals/ I want to filter by the user who launched the request. If I look at the json it’s in this field: results/launched\_by/name I can’t figure out how to filt…

---

## [Galaxy API URL for listing supported platforms](https://forum.ansible.com/t/galaxy-api-url-for-listing-supported-platforms/5613)

<div class="topic-metadata">

**Author:** [@stdevel](https://forum.ansible.com/u/stdevel)\
**Replies:** 4\
**Last updated:** [May 20, 2024, 2:46pm UTC](https://forum.ansible.com/t/galaxy-api-url-for-listing-supported-platforms/5613 "2024-05-20T14:46:37Z")

</div>

When writing Ansible roles, most users adjust the meta/main.yml file to include platforms the role is designed for - e.g. Fedora 40. In a comment molecule usually links to the URL https://galaxy.ansible.com/api/v1/platfo…

---

## [Passing password variable into API raw json giving an error and code failing](https://forum.ansible.com/t/passing-password-variable-into-api-raw-json-giving-an-error-and-code-failing/5216)

<div class="topic-metadata">

**Author:** [@ahawker](https://forum.ansible.com/u/ahawker)\
**Replies:** 2\
**Last updated:** [May 2, 2024, 2:03pm UTC](https://forum.ansible.com/t/passing-password-variable-into-api-raw-json-giving-an-error-and-code-failing/5216 "2024-05-02T14:03:55Z")

</div>

Hi, I believe I am getting the syntax wrong for passing in a variable to an API, raw json body but googling on and off for days has not helped. Hopefully someone can point me in the right direction on here. The playbook…

---

## [Playbook showing as failed but actually runs successfully](https://forum.ansible.com/t/playbook-showing-as-failed-but-actually-runs-successfully/5146)

<div class="topic-metadata">

**Author:** [@ahawker](https://forum.ansible.com/u/ahawker)\
**Replies:** 3\
**Last updated:** [April 25, 2024, 2:13pm UTC](https://forum.ansible.com/t/playbook-showing-as-failed-but-actually-runs-successfully/5146 "2024-04-25T14:13:22Z")

</div>

Hello, Created a simple playbook to add Dell iDRACs into OME (Open Manage Enterprise). The playbook runs successfully. By that I mean the device is added to OME every time I’ve tested the code. My issue is the playbook’…

---

## [AWX stdout via API or Download contains no timestamp information](https://forum.ansible.com/t/awx-stdout-via-api-or-download-contains-no-timestamp-information/5109)

<div class="topic-metadata">

**Author:** [@netopsengineer](https://forum.ansible.com/u/netopsengineer)\
**Replies:** 7\
**Last updated:** [April 24, 2024, 3:59pm UTC](https://forum.ansible.com/t/awx-stdout-via-api-or-download-contains-no-timestamp-information/5109 "2024-04-24T15:59:15Z")

</div>

Hello, I’ve not been able to locate documentation to say this is or isn’t the expected behavior, so I am hoping someone can chime in. While the UI stdout displays timestamps of tasks, the downloadable version, and the v…

---

## [Extra\_vars to Webhooks in AWX?](https://forum.ansible.com/t/extra-vars-to-webhooks-in-awx/4926)

<div class="topic-metadata">

**Author:** [@jpmens](https://forum.ansible.com/u/jpmens)\
**Replies:** 2\
**Last updated:** [April 13, 2024, 6:34am UTC](https://forum.ansible.com/t/extra-vars-to-webhooks-in-awx/4926 "2024-04-13T06:34:58Z")

</div>

When a Webhook POSTed to AWX provides a payload containing extra\_vars and other things, the values are made available in AWX as "{awx,tower}\_webhook\_payload". Is it by design that extra\_vars isn’t merged with other varia…

---

## [Interacting with the Docker Hub API using the ansible.builtin.uri module](https://forum.ansible.com/t/interacting-with-the-docker-hub-api-using-the-ansible-builtin-uri-module/3487)

<div class="topic-metadata">

**Author:** [@chris](https://forum.ansible.com/u/chris)\
**Replies:** 6\
**Last updated:** [January 27, 2024, 6:00pm UTC](https://forum.ansible.com/t/interacting-with-the-docker-hub-api-using-the-ansible-builtin-uri-module/3487 "2024-01-27T18:00:06Z")

</div>

I trying to get a list of Docker images tags from Docker Hub using Ansible, this is how it works using curl: curl --silent --get --data-urlencode "service=registry.docker.io" \\ --data-urlencode "scope=repository:onlyoff…

---

## [Linking Workflow Nodes via API call](https://forum.ansible.com/t/linking-workflow-nodes-via-api-call/3462)

<div class="topic-metadata">

**Author:** [@kevin\_codey](https://forum.ansible.com/u/kevin_codey)\
**Replies:** 4\
**Last updated:** [January 26, 2024, 7:14pm UTC](https://forum.ansible.com/t/linking-workflow-nodes-via-api-call/3462 "2024-01-26T19:14:27Z")

</div>

I can create my workflow\_job\_template and a pair of workflow\_job\_template\_nodes via API calls, but I cannot make the second node a success\_node of the first. I am POSTing to: /api/v2/workflow\_job\_template\_nodes/ First,…

---

## [How to automate "adding" a collection to a custom repository in Automation Hub/Galaxy\_NG](https://forum.ansible.com/t/how-to-automate-adding-a-collection-to-a-custom-repository-in-automation-hub-galaxy-ng/3178)

<div class="topic-metadata">

**Author:** [@Denney-tech](https://forum.ansible.com/u/Denney-tech)\
**Replies:** 4\
**Last updated:** [January 17, 2024, 8:07pm UTC](https://forum.ansible.com/t/how-to-automate-adding-a-collection-to-a-custom-repository-in-automation-hub-galaxy-ng/3178 "2024-01-17T20:07:20Z")

</div>

I’m working with a semi-air-gapped installation of Galaxy\_NG:4.8.1, and have automated a process of downloading collection tars from galaxy.ansible.com and uploading them to the private hub’s community repository. The re…

---

## [API reference docs for AWX](https://forum.ansible.com/t/api-reference-docs-for-awx/2264)

<div class="topic-metadata">

**Author:** [@oranod](https://forum.ansible.com/u/oranod)\
**Replies:** 0\
**Last updated:** [November 9, 2023, 1:19pm UTC](https://forum.ansible.com/t/api-reference-docs-for-awx/2264 "2023-11-09T13:19:56Z")

</div>

Hey everyone, I’ve been helping @tvo318 move the Controller docs over to AWX and publishing on read the docs. Moving the full content set across means including some generated resources, namely for the REST API and CLI. …

---

## [403 for Galaxy API when publishing collection to galaxy.ansible.com](https://forum.ansible.com/t/403-for-galaxy-api-when-publishing-collection-to-galaxy-ansible-com/1445)

<div class="topic-metadata">

**Author:** [@jholland](https://forum.ansible.com/u/jholland)\
**Replies:** 14\
**Last updated:** [October 9, 2023, 8:10am UTC](https://forum.ansible.com/t/403-for-galaxy-api-when-publishing-collection-to-galaxy-ansible-com/1445 "2023-10-09T08:10:12Z")

</div>

Publishing for our collection to Galaxy is broken. It has been working fine for years, so this is presumably since the 30 Sep 2023 changes to “new Galaxy”. What do we need to change? Error message: ERROR! Error when fi…
