Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHEL 9 ansible-core lacks rhsm_repository module #147

Closed
ktdreyer opened this issue Jul 12, 2022 · 1 comment · Fixed by #148
Closed

RHEL 9 ansible-core lacks rhsm_repository module #147

ktdreyer opened this issue Jul 12, 2022 · 1 comment · Fixed by #148

Comments

@ktdreyer
Copy link
Member

ktdreyer commented Jul 12, 2022

The rhsm_repository module is not available in RHEL 9's ansible-core package:

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

The error appears to be in '/builddir/build/BUILD/cephadm-ansible-1.8.0/cephadm-preflight.yml': line 54, column 11, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

      block:
        - name: enable red hat storage tools repository
          ^ here

We need to figure out if this module is packaged elsewhere, or package it ourselves, or bundle it into cephadm-ansible (not my preference... but maybe the best option at this point)

@ktdreyer ktdreyer changed the title RHEL 9 ansible-core-2.12 lacks rhsm_repository module RHEL 9 ansible-core lacks rhsm_repository module Jul 13, 2022
@ktdreyer
Copy link
Member Author

ktdreyer commented Jul 13, 2022

Ok, Fedora has https://src.fedoraproject.org/rpms/ansible-collection-community-general , and we can package something like this downstream for RH Ceph Storage as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant