To display Ansible Tower (AAP) collection:
kaau@OCLT71159526 ~/myproj/NACBSRE_sre_client_app_86039$ cat galaxy_collection_listing.yml
[[blue:---]]
[[blue:- name: Show installed Ansible collections]]
[[blue: hosts: tpd2ocbdlgen126.srv.bmogc.net]]
[[blue: gather_facts: false]]
[[blue:]]
[[blue: tasks:]]
[[blue: - name: Run ansible-galaxy collection list]]
[[blue: delegate_to: localhost]]
[[blue: ansible.builtin.command:]]
[[blue: cmd: ansible-galaxy collection list]]
[[blue: register: collection_list]]
[[blue: changed_when: false]]
[[blue:]]
[[blue: - name: Display collections]]
[[blue: ansible.builtin.debug:]]
[[blue: var: collection_list.stdout_lines]]
#
# output:
#
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1786473044.4054043-15-144420870189138/ > /dev/null 2>&1 && sleep 0'
ok: [tpd2ocbdlgen126.srv.bmogc.net -> localhost] => {
"changed": false,
"cmd": [
"ansible-galaxy",
"collection",
"list"
],
"delta": "0:00:00.645565",
"end": "2026-08-11 18:30:45.427196",
"invocation": {
"module_args": {
"_raw_params": "ansible-galaxy collection list",
"_uses_shell": false,
"argv": null,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"stdin": null,
"stdin_add_newline": true,
"strip_empty_ends": true
}
},
"msg": "",
"rc": 0,
"start": "2026-08-11 18:30:44.781631",
TASK [Display collections] *****************************************************
task path: /runner/project/galaxy_collection_listing.yml:14
ok: [tpd2ocbdlgen126.srv.bmogc.net] => {
"{
"collection_list.stdout_lines": [
"",
"## /runner/requirements_collections/ansible_collections",
"Collection Version ",
"------------------------------------ ------------",
"nacbsre.cac_collection 8.3.0 ",
"",
"## /usr/share/ansible/collections/ansible_collections",
"Collection Version ",
"------------------------------------ ------------",
"amazon.aws 6.4.0 ",
"ansible.controller 4.6.0 ",
"ansible.eda 2.11.0 ",
"ansible.hub 1.0.4 ",
"ansible.netcommon 6.0.0 ",
"ansible.network 3.0.0 ",
"ansible.platform 2.6.20260306",
"ansible.posix 1.5.4 ",
"ansible.receptor 2.0.8 ",
"ansible.scm 2.0.0 ",
"ansible.security 2.0.0 ",
"ansible.snmp 2.0.0 ",
"ansible.utils 5.1.2 ",
"ansible.windows 2.8.0 ",
"ansible.yang 2.0.0 ",
"arista.eos 7.0.0 ",
"azure.azcollection 3.0.0 ",
"cisco.aci 2.10.1 ",
"cisco.asa 5.0.0 ",
"cisco.ios 6.1.0 ",
"cisco.iosxr 7.0.0 ",
"cisco.meraki 2.23.1 ",
"cisco.mso 2.9.0 ",
"cisco.nd 1.2.0 ",
"cisco.nxos 6.0.0 ",
"cloud.aws_ops 1.0.2 ",
"cloud.aws_troubleshooting 3.0.0 ",
"cloud.azure_ops 4.0.1 ",
"cloud.common 2.1.2 ",
"cloud.gcp_ops 2.0.0 ",
"cloud.terraform 4.0.0 ",
"cloud.terraform_ops 1.0.0 ",
"cloud.vmware_ops 1.0.0 ",
"community.aws 6.4.0 ",
"community.general 10.7.8 ",
"community.libvirt 2.1.0 ",
"community.vmware 5.10.0 ",
"community.windows 2.4.0 ",
"containers.podman 1.19.0 ",
"crowdstrike.falcon 4.11.0 ",
"cyberark.isp 1.0.5 ",
"dellemc.openmanage 10.0.1 ",
"dellemc.os10 1.2.7 ",
"dynatrace.event_driven_ansible 1.2.3 ",
"dynatrace.oneagent 1.2.5 ",
"f5networks.f5_bigip 3.9.0 ",
"f5networks.f5_eda_security 1.0.1 ",
"f5networks.f5_modules 1.33.0 ",
"f5networks.f5_platform_modernization 1.0.0 ",
"f5networks.f5os 1.20.0 ",
"f5networks.next 1.5.0 ",
"fedora.linux_system_roles 1.121.0 ",
"frr.frr 2.0.2 ",
"google.cloud 1.3.0 ",
"hpe.oneview 11.0.0 ",
"ibm.ibm_zhmc 1.1.1 ",
"ibm.ibm_zos_cics 2.2.1 ",
"ibm.ibm_zos_core 1.15.1 ",
"ibm.ibm_zos_ims 1.3.1 ",
"ibm.ibm_zos_sysauto 1.1.0 ",
"ibm.ibm_zosmf 1.6.0 ",
"ibm.isam 3.5.0 ",
"ibm.power_aix 2.2.1 ",
"ibm.qradar 3.0.0 ",
"infra.aap_configuration 3.4.0 ",
"infra.aap_configuration_extended 4.2.0 ",
"infra.aap_utilities 2.8.0 ",
"infra.ah_configuration 2.0.6 ",
"infra.ansible_rekey_variables 1.1.4 ",
"infra.controller_configuration 3.2.1 ",
"infra.convert2rhel 1.2.1 ",
"infra.eda_configuration 1.1.0 ",
"infra.ee_utilities 4.2.2 ",
"infra.leapp 1.7.0 ",
"infra.lvm_snapshots 2.1.3 ",
"infra.middleware_ocpv 1.0.0 ",
"infra.osbuild 2.3.0 ",
"junipernetworks.junos 6.0.0 ",
"kubernetes.core 3.0.1 ",
"microsoft.ad 1.1.0 ",
"microsoft.iis 1.0.3 ",
"network.acls 4.0.0 ",
"network.backup 4.0.1 ",
"network.base 7.0.0 ",
"network.bgp 7.0.0 ",
"network.healthchecks 1.0.0 ",
"network.interfaces 6.0.0 ",
"network.meraki_ops 1.0.0 ",
"network.ospf 6.0.0 ",
"network.telemetry 3.0.0 ",
"network.vpn 5.0.0 ",
"nutanix.ncp 2.1.1 ",
"openvswitch.openvswitch 2.1.1 ",
"redhat.amq_broker 1.3.0 ",
"redhat.data_grid 1.3.1 ",
"redhat.eap 1.3.1 ",
"redhat.insights 1.3.0 ",
"redhat.jws 2.0.0 ",
"redhat.openshift 2.3.0 ",
"redhat.openshift_virtualization 1.2.3 ",
"redhat.redhat_csp_download 1.2.2 ",
"redhat.rhbk 2.2.2 ",
"redhat.rhel_idm 1.10.0 ",
"redhat.rhel_system_roles 1.95.7 ",
"redhat.rhv 2.4.2 ",
"redhat.runtimes_common 1.1.3 ",
"redhat.sap_install 1.2.1 ",
"redhat.satellite 3.10.0 ",
"redhat.satellite_operations 1.3.0 ",
"redhat.sso 1.3.0 ",
"sap.sap_operations 1.0.4 ",
"servicenow.itsm 2.1.0 ",
"splunk.es 3.0.0 ",
"trendmicro.deepsec 3.0.0 ",
"vmware.vmware 1.11.0 ",
"vmware.vmware_rest 2.3.1 ",
"vyos.vyos 4.0.2 ",
"zabbix.zabbix 1.3.12 "
],
"_ansible_verbose_always": true,
"_ansible_no_log": false,
"changed": false
}
PLAY RECAP *********************************************************************
tpd2ocbdlgen126.srv.bmogc.net : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0