ansible-collections / community.general

Ansible Community General Collection
https://galaxy.ansible.com/ui/repo/published/community/general/
GNU General Public License v3.0
838 stars 1.53k forks source link

Can't buind new EE in Ansible Automation Platform #5375

Open Alexxio1981 opened 2 years ago

Alexxio1981 commented 2 years ago

Summary

After successully build an EE in Ansible automation platform the playbook can't recognize the collection.

ERROR! couldn't resolve module/action 'community.general.redhat_subscription'. This often indicates a misspelling, missing collection, or incorrect module path.

Issue Type

Bug Report

Component Name

community.general

Ansible Version

ansible [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/bin/ansible python version = 3.8.12 (default, Sep 16 2021, 10:46:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] jinja version = 2.10.3 libyaml = True

Community.general Version

Collection version 5.6.0

Configuration

$ ansible-config dump --only-changed

OS / Environment

RHEL 8

Steps to Reproduce

--- -- - hosts: all tasks:     - name: "Register as user with password and auto-subscribe to available content" community.general.redhat_subscription: state: present username: "{{ username }}" password: "{{ password }}" pool_ids: "{{ my_pool_id }}" force_register: yes

Expected Results

I expect that EE working correctly

Actual Results

Code of Conduct

ansibullbot commented 2 years ago

Files identified in the description: None

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

felixfontein commented 2 years ago

This collection doesn't do anything special, so this isn't a problem related to this collection, but more a support problem for ansible-core. Please ask in one of the following places:

(In the unlikely case that you're building an EE with Ansible 2.9, please note that community.general 5.x.y does not support Ansible 2.9. You either have to upgrade to a more modern ansible-core version, or stick to older community.general releases.)

felixfontein commented 2 years ago

Also since you seem to pay for this (you mentioned Ansible automation platform), you could also contact the AAP support.