mirror of
https://github.com/de-it-krachten/ansible-role-rhsm
synced 2026-05-14 03:51:36 +00:00
No description
- Jinja 100%
|
|
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-rhsm
Attach host to RHSM (Red Hat Subscription Management)
Dependencies
Roles
None
Collections
- community.general
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# RHSM activation key
rhsm_activationkey: "{{ lookup('env', 'RHSM_ACTIVATIONKEY') }}"
# RHSM organization id
rhsm_org_id: "{{ lookup('env', 'RHSM_ORG_ID') }}"
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'rhsm'
hosts: all
become: 'yes'
tasks:
- name: Include role 'rhsm'
ansible.builtin.include_role:
name: rhsm