Adding support for RHEL subscription setup
This commit is contained in:
parent
c77ccef1f1
commit
bc4845d87f
2 changed files with 18 additions and 0 deletions
|
@ -64,3 +64,13 @@ base_core_root_ca_url: ""
|
|||
|
||||
# Enables the installation of the cockpit web management package(s)
|
||||
base_core_web_management: false
|
||||
|
||||
# ******
|
||||
# RedHat
|
||||
# ******
|
||||
|
||||
# RHEL Subscription
|
||||
# =============
|
||||
|
||||
base_redhat_subscription_activationkey: ""
|
||||
base_redhat_subscription_org_id: ""
|
||||
|
|
|
@ -19,6 +19,14 @@
|
|||
tags:
|
||||
- always
|
||||
|
||||
- name: Attach subscription
|
||||
redhat_subscription:
|
||||
state: present
|
||||
activationkey: "{{ base_redhat_subscription_activationkey }}"
|
||||
org_id: "{{ base_redhat_subscription_org_id }}"
|
||||
pool: '^(Red Hat Enterprise Server|Red Hat Virtualization)$'
|
||||
when: ansible_distribution == 'RedHat' and base_redhat_subscription_org_id != "" and base_redhat_subscription_activationkey != ""
|
||||
|
||||
- name: "*** MOTD Configuration ***"
|
||||
include_tasks:
|
||||
file: core_motd.yml
|
||||
|
|
Loading…
Reference in a new issue