# \#infra-config-as-code

**URL:** https://forum.ansible.com/tag/infra-config-as-code/158.md

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

---

## [I'm building an open-source IBM MQ automation project using Ansible — looking for feedback](https://forum.ansible.com/t/im-building-an-open-source-ibm-mq-automation-project-using-ansible-looking-for-feedback/46287)

<div class="topic-metadata">

**Author:** [@ankurlodhi](https://forum.ansible.com/u/ankurlodhi)\
**Replies:** 0\
**Last updated:** [September 9, 2026, 1:15pm UTC](https://forum.ansible.com/t/im-building-an-open-source-ibm-mq-automation-project-using-ansible-looking-for-feedback/46287 "2026-09-09T13:15:04Z")

</div>

I’ve been building an open-source project that explores managing IBM MQ objects as code using Ansible. The idea is simple: YAML → Validation → Ansible → IBM MQ For example: queues: - name: APP.REQUEST type: loc…

---

## [Invalid authentication credentials when using infra.aap\_configuration.hub\_collection\_remote](https://forum.ansible.com/t/invalid-authentication-credentials-when-using-infra-aap-configuration-hub-collection-remote/43902)

<div class="topic-metadata">

**Author:** [@Beumont](https://forum.ansible.com/u/Beumont)\
**Replies:** 2\
**Last updated:** [November 11, 2025, 5:42pm UTC](https://forum.ansible.com/t/invalid-authentication-credentials-when-using-infra-aap-configuration-hub-collection-remote/43902 "2025-11-11T17:42:46Z")

</div>

When running infra.aap\_configuration.hub\_collection\_remote I am getting an error Playbook task output: msg: 'Authentication error: Invalid authentication credentials for /api/galaxy/\_ui/v1/me/ (HTTP 401).' aap…

---

## [Data model differences within infra.controller\_configuratio between roles filetree\_create, filetree\_read & dispatch and the module controller\_export\_diff](https://forum.ansible.com/t/data-model-differences-within-infra-controller-configuratio-between-roles-filetree-create-filetree-read-dispatch-and-the-module-controller-export-diff/44805)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 0\
**Last updated:** [November 7, 2025, 4:43am UTC](https://forum.ansible.com/t/data-model-differences-within-infra-controller-configuratio-between-roles-filetree-create-filetree-read-dispatch-and-the-module-controller-export-diff/44805 "2025-11-07T04:43:57Z")

</div>

I am experimenting with using a combination of the roles filetree\_create, filetree\_read and dispatch in combination with the module controller\_export\_diff in the collection infra.controller\_configuration (v3.2.0) to conf…

---

## [How to create configuration templates for the local hub?](https://forum.ansible.com/t/how-to-create-configuration-templates-for-the-local-hub/43151)

<div class="topic-metadata">

**Author:** [@AndreasD](https://forum.ansible.com/u/AndreasD)\
**Replies:** 0\
**Last updated:** [June 4, 2025, 10:59am UTC](https://forum.ansible.com/t/how-to-create-configuration-templates-for-the-local-hub/43151 "2025-06-04T10:59:00Z")

</div>

I’m using the filetree\_create role from the infra.aap\_configuration collection and have noted that there are no files created with configuration templates for any hub components. Am I doing something wrong, or is there a…

---

## [Install ansible.platform collections](https://forum.ansible.com/t/install-ansible-platform-collections/43004)

<div class="topic-metadata">

**Author:** [@dsexton18](https://forum.ansible.com/u/dsexton18)\
**Replies:** 2\
**Last updated:** [May 25, 2025, 7:59pm UTC](https://forum.ansible.com/t/install-ansible-platform-collections/43004 "2025-05-25T19:59:45Z")

</div>

When trying to install the following ansible collections listed below. Note I am using the Red Hat Developer Subscription. My goal is to deploy AAP 2.5 using IAC. Using this github project as a guide https://github.com/r…

---

## [Collection\_repository\_sync module behaviour](https://forum.ansible.com/t/collection-repository-sync-module-behaviour/42924)

<div class="topic-metadata">

**Author:** [@johan](https://forum.ansible.com/u/johan)\
**Replies:** 0\
**Last updated:** [May 22, 2025, 2:28pm UTC](https://forum.ansible.com/t/collection-repository-sync-module-behaviour/42924 "2025-05-22T14:28:07Z")

</div>

Hello fellow coders, In Private Automation Hub, when you synchronize a remote collection repository, you are asked if you want to keep local objects (ie collections) which would have been deleted on the remote repositor…

---

## ["controller\_roles" role in "infra.aap\_configuration" adds but does not remove roles](https://forum.ansible.com/t/controller-roles-role-in-infra-aap-configuration-adds-but-does-not-remove-roles/41396)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 5\
**Last updated:** [April 8, 2025, 7:10am UTC](https://forum.ansible.com/t/controller-roles-role-in-infra-aap-configuration-adds-but-does-not-remove-roles/41396 "2025-04-08T07:10:35Z")

</div>

I have been playing with the “controller\_roles” role in the “infra.aap\_configuration” collection (GitHub - redhat-cop/infra.aap\_configuration: A collection of roles to manage Ansible Automation Platform 2.5+ with code & A…

---

## [Export AAP 2.5 configuration](https://forum.ansible.com/t/export-aap-2-5-configuration/10667)

<div class="topic-metadata">

**Author:** [@jwerak](https://forum.ansible.com/u/jwerak)\
**Replies:** 1\
**Last updated:** [March 27, 2025, 2:22pm UTC](https://forum.ansible.com/t/export-aap-2-5-configuration/10667 "2025-03-27T14:22:03Z")

</div>

Hi, I want to export the configuration of AAP 2.5 in a similar way the 2.4 did with filetree\_create.yml playbook. Is there equivalent playbook in infra.platform\_configuration ?

---

## [What should we call infra.\*\_configuration?](https://forum.ansible.com/t/what-should-we-call-infra-configuration/39163)

<div class="topic-metadata">

**Author:** [@akira6592](https://forum.ansible.com/u/akira6592)\
**Replies:** 0\
**Last updated:** [December 15, 2024, 1:12pm UTC](https://forum.ansible.com/t/what-should-we-call-infra-configuration/39163 "2024-12-15T13:12:31Z")

</div>

For example, infra.controller\_configuration collection calls modules of ansible.controller collection. Summary: Group “A” Collections Group “B” Collections infra.aap\_configuration ansible.platform, ansible.cont…

---

## [Filetree\_create does not include extra\_data on workflow nodes](https://forum.ansible.com/t/filetree-create-does-not-include-extra-data-on-workflow-nodes/7722)

<div class="topic-metadata">

**Author:** [@derb](https://forum.ansible.com/u/derb)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 1:09pm UTC](https://forum.ansible.com/t/filetree-create-does-not-include-extra-data-on-workflow-nodes/7722 "2024-08-12T13:09:19Z")

</div>

Back with another question :slight\_smile: Summary Executing infra.controller\_configuration.filetree\_create does not produce extra\_vars that are attached to nodes in a workflow. For example, I have a workflow node which …

---

## [How to call infra.controller\_configuration.filetree\_create with organization filter](https://forum.ansible.com/t/how-to-call-infra-controller-configuration-filetree-create-with-organization-filter/7686)

<div class="topic-metadata">

**Author:** [@derb](https://forum.ansible.com/u/derb)\
**Replies:** 7\
**Last updated:** [August 7, 2024, 6:00pm UTC](https://forum.ansible.com/t/how-to-call-infra-controller-configuration-filetree-create-with-organization-filter/7686 "2024-08-07T18:00:14Z")

</div>

Passing organization filter. Hi everyone, I ma trying to call the file\_tree\_create role in the infra.controller\_configuration collection. My playbook is the same as the example on the info page with the exception of the…

---

## [Unable to remove objects in sequence from AAP using controller\_configuration.dispatch role](https://forum.ansible.com/t/unable-to-remove-objects-in-sequence-from-aap-using-controller-configuration-dispatch-role/7475)

<div class="topic-metadata">

**Author:** [@umang](https://forum.ansible.com/u/umang)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 10:38am UTC](https://forum.ansible.com/t/unable-to-remove-objects-in-sequence-from-aap-using-controller-configuration-dispatch-role/7475 "2024-07-25T10:38:51Z")

</div>

Hi , I have provisioned resources using controller\_configuration.dispatch role . However I am looking to delete these resources as well after reading same state file defined in common fixture . Dispatch role follow the …

---

## [Does anyone have examples of running CasC as a template on AAP?](https://forum.ansible.com/t/does-anyone-have-examples-of-running-casc-as-a-template-on-aap/6690)

<div class="topic-metadata">

**Author:** [@Karyn\_Cassio](https://forum.ansible.com/u/Karyn_Cassio)\
**Replies:** 3\
**Last updated:** [July 24, 2024, 9:45am UTC](https://forum.ansible.com/t/does-anyone-have-examples-of-running-casc-as-a-template-on-aap/6690 "2024-07-24T09:45:24Z")

</div>

My current customer doesn’t have a bastion host, and we are setting up CasC POC for them. They access their instance of AAP using an Azure token. When I run a task from the CasC playbook I get auth errors, which is expec…

---

## [\[RFE\] - Develop new functionality for exporting configurations filtered by project](https://forum.ansible.com/t/rfe-develop-new-functionality-for-exporting-configurations-filtered-by-project/5220)

<div class="topic-metadata">

**Author:** [@silvinux](https://forum.ansible.com/u/silvinux)\
**Replies:** 0\
**Last updated:** [April 30, 2024, 1:55pm UTC](https://forum.ansible.com/t/rfe-develop-new-functionality-for-exporting-configurations-filtered-by-project/5220 "2024-04-30T13:55:54Z")

</div>

Description: We need to develop a new feature of the role filetree-create in the ansible collection infra.controller\_configuration. The objective is to create a task that takes the name of a project as input and export …

---

## [AAP Config as Code Office Hours - First Thursday of Every Month](https://forum.ansible.com/t/aap-config-as-code-office-hours-first-thursday-of-every-month/398)

<div class="topic-metadata">

**Author:** [@sean\_sullivan](https://forum.ansible.com/u/sean_sullivan)\
**Replies:** 2\
**Last updated:** [April 11, 2024, 3:35pm UTC](https://forum.ansible.com/t/aap-config-as-code-office-hours-first-thursday-of-every-month/398 "2024-04-11T15:35:17Z")

</div>

The AAP config as code team from the same Matrix channel hosts a monthly meeting on the first Thursday of the month, at 0900 EDT. Topics for discussion are in relation to the AAP configuration as code collections on ga…

---

## [How to Install AAP2.4 using terrraform on RHEL 8](https://forum.ansible.com/t/how-to-install-aap2-4-using-terrraform-on-rhel-8/4303)

<div class="topic-metadata">

**Author:** [@Srikanth1992](https://forum.ansible.com/u/Srikanth1992)\
**Replies:** 1\
**Last updated:** [March 11, 2024, 2:59am UTC](https://forum.ansible.com/t/how-to-install-aap2-4-using-terrraform-on-rhel-8/4303 "2024-03-11T02:59:25Z")

</div>

Hello Team Currently, our organization runs Ansible Automation Platform (AAP) version 2.4 on RHEL 8. We have a setup with 4 nodes, including 3 HA nodes and 1 database node managed by a controller. This setup was manuall…

---

## [Unable to remove notification\_templates\_\* by using awx.awx.job\_template](https://forum.ansible.com/t/unable-to-remove-notification-templates-by-using-awx-awx-job-template/4187)

<div class="topic-metadata">

**Author:** [@Crimrose](https://forum.ansible.com/u/Crimrose)\
**Replies:** 2\
**Last updated:** [March 3, 2024, 5:36am UTC](https://forum.ansible.com/t/unable-to-remove-notification-templates-by-using-awx-awx-job-template/4187 "2024-03-03T05:36:58Z")

</div>

I’m using awx.awx.job\_template to create notifications for job tempate. But I can’t remove these notification rules after adding with code. I already tried removing notification\_templates\_error or set this value as empt…

---

## [Infra.controller\_configuration.object\_diff not adding missing job template](https://forum.ansible.com/t/infra-controller-configuration-object-diff-not-adding-missing-job-template/3579)

<div class="topic-metadata">

**Author:** [@arguy](https://forum.ansible.com/u/arguy)\
**Replies:** 1\
**Last updated:** [February 2, 2024, 2:45pm UTC](https://forum.ansible.com/t/infra-controller-configuration-object-diff-not-adding-missing-job-template/3579 "2024-02-02T14:45:11Z")

</div>

I have been using the config as code to setup my orgs instance of awx and manage all the objects in a git repo. Awesome project and i thank all the contributors for all the options. Its exciting to see releases with mean…

---

## [Specify Inventory for workflow\_nodes in workflow\_job\_template](https://forum.ansible.com/t/specify-inventory-for-workflow-nodes-in-workflow-job-template/3464)

<div class="topic-metadata">

**Author:** [@Dustin](https://forum.ansible.com/u/Dustin)\
**Replies:** 4\
**Last updated:** [January 24, 2024, 8:18pm UTC](https://forum.ansible.com/t/specify-inventory-for-workflow-nodes-in-workflow-job-template/3464 "2024-01-24T20:18:38Z")

</div>

I cannot figure out how to define an inventory per-node when configuring AWX using awx.awx.workflow\_job\_template module. I found the documentation here: awx.awx.workflow\_job\_template\_module I’ve tried: Specify inven…

---

## [Deleting a collection with infra.ah\_configuration does not work](https://forum.ansible.com/t/deleting-a-collection-with-infra-ah-configuration-does-not-work/2214)

<div class="topic-metadata">

**Author:** [@johan](https://forum.ansible.com/u/johan)\
**Replies:** 13\
**Last updated:** [January 3, 2024, 11:41am UTC](https://forum.ansible.com/t/deleting-a-collection-with-infra-ah-configuration-does-not-work/2214 "2024-01-03T11:41:05Z")

</div>

Hello, thank you to who will know to point what I’m doing wrong with the ah\_configuration collection. I just can’ delete a specific AAH hosted community.general collection with infra.ah\_configuration.collection role. W…

---

## [Machine credential not working](https://forum.ansible.com/t/machine-credential-not-working/2973)

<div class="topic-metadata">

**Author:** [@jschilen](https://forum.ansible.com/u/jschilen)\
**Replies:** 2\
**Last updated:** [December 28, 2023, 12:56am UTC](https://forum.ansible.com/t/machine-credential-not-working/2973 "2023-12-28T00:56:18Z")

</div>

Hello, I’m using AWX on minikube. I’m working on a project to automate the AWX config using infra. I’ve got it working to create an RHV credential, Project, and job template. Whenever I try to get it to create a machin…

---

## [Need help to setup AAP with the redhat-cop/aap\_configuration\_template](https://forum.ansible.com/t/need-help-to-setup-aap-with-the-redhat-cop-aap-configuration-template/2438)

<div class="topic-metadata">

**Author:** [@laurent-indermuehle](https://forum.ansible.com/u/laurent-indermuehle)\
**Replies:** 0\
**Last updated:** [November 17, 2023, 4:20pm UTC](https://forum.ansible.com/t/need-help-to-setup-aap-with-the-redhat-cop-aap-configuration-template/2438 "2023-11-17T16:20:05Z")

</div>

I should probably have started to ask here, but I already filled an issue: Need explanations to use the installation part · Issue #38 · redhat-cop/aap\_configuration\_template · GitHub As you can see, I’m having trouble i…

---

## [Help to configure AWX using infra.controller\_configuration](https://forum.ansible.com/t/help-to-configure-awx-using-infra-controller-configuration/2229)

<div class="topic-metadata">

**Author:** [@laurent-indermuehle](https://forum.ansible.com/u/laurent-indermuehle)\
**Replies:** 3\
**Last updated:** [November 9, 2023, 5:52pm UTC](https://forum.ansible.com/t/help-to-configure-awx-using-infra-controller-configuration/2229 "2023-11-09T17:52:26Z")

</div>

I installed AWX inside Minikube using awx-operator 2.7.1. Everything is up and running and I can login to the user interface. Now I want to use the playbook forked from redhat-cop/aap\_configuration\_template to populate …

---

## [Release annoucment: Infra collections controller\_configuration: 2.5.1 ah\_configuration: 2.0.4](https://forum.ansible.com/t/release-annoucment-infra-collections-controller-configuration-2-5-1-ah-configuration-2-0-4/1733)

<div class="topic-metadata">

**Author:** [@sean\_sullivan](https://forum.ansible.com/u/sean_sullivan)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 8:13am UTC](https://forum.ansible.com/t/release-annoucment-infra-collections-controller-configuration-2-5-1-ah-configuration-2-0-4/1733 "2023-10-16T08:13:21Z")

</div>

Hello everyone, infra.ah\_configuration 2.0.4 has been released This release addressed bugfixes around the authentication token, and removing it from roles that used modules that did not support it. We are working on be…

---

## [Is the namespace 'redhat\_cop' being renamed to 'infra'?](https://forum.ansible.com/t/is-the-namespace-redhat-cop-being-renamed-to-infra/785)

<div class="topic-metadata">

**Author:** [@jpmens](https://forum.ansible.com/u/jpmens)\
**Replies:** 3\
**Last updated:** [September 15, 2023, 3:37pm UTC](https://forum.ansible.com/t/is-the-namespace-redhat-cop-being-renamed-to-infra/785 "2023-09-15T15:37:26Z")

</div>

It’s probably an age thing on my part, but I’m getting a bit dizzy. :slight\_smile: Looking at the redhat\_cop.controller\_configuration (Ansible Galaxy) collection, it appears this collection is Deprecated. Its repo at Gi…
