Cleaning up the RHEL subscription
This commit is contained in:
parent
ecd42f71a9
commit
fe453157ba
1 changed files with 2 additions and 2 deletions
|
@ -19,13 +19,13 @@
|
|||
tags:
|
||||
- always
|
||||
|
||||
- name: Attach subscription
|
||||
- name: Attach RHEL 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 != ""
|
||||
when: ansible_distribution == 'RedHat' and (base_redhat_subscription_org_id != "" and base_redhat_subscription_activationkey != "")
|
||||
|
||||
- name: "*** MOTD Configuration ***"
|
||||
include_tasks:
|
||||
|
|
Loading…
Reference in a new issue