aboutsummaryrefslogtreecommitdiff
path: root/roles/guest-configure/tasks/main.yml
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2025-07-15 18:29:03 -0400
committerspmfox <spmfox@foxwd.com>2025-07-15 18:29:03 -0400
commit167b3da9926db3a4f507533427b72933c008dee6 (patch)
tree0becf90d8e9da037d8b02a0b1f69ce41e6730df3 /roles/guest-configure/tasks/main.yml
parent57dba39ce3df4a84e05138a7b42e37615d58abc8 (diff)
adding EL10, enhancing rhsm
Diffstat (limited to 'roles/guest-configure/tasks/main.yml')
-rw-r--r--roles/guest-configure/tasks/main.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/roles/guest-configure/tasks/main.yml b/roles/guest-configure/tasks/main.yml
index 0874b4b..76bf2b1 100644
--- a/roles/guest-configure/tasks/main.yml
+++ b/roles/guest-configure/tasks/main.yml
@@ -13,7 +13,8 @@
- name: Import Red Hat Subscription Manager task
ansible.builtin.import_tasks: rhsm-register.yml
- when: (guest_configure_rhsm_username | length > 0) and (guest_configure_rhsm_password | length > 0)
+ when: ((guest_configure_rhsm_username | length > 0) and (guest_configure_rhsm_password | length > 0)) or
+ ((guest_configure_rhsm_org_id | length > 0) and (guest_configure_rhsm_activation_key | length > 0))
- name: Import update task
ansible.builtin.import_tasks: update.yml