summaryrefslogtreecommitdiffstats
path: root/roles/rhel_subscribe
diff options
context:
space:
mode:
Diffstat (limited to 'roles/rhel_subscribe')
-rw-r--r--roles/rhel_subscribe/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/rhel_subscribe/tasks/main.yml b/roles/rhel_subscribe/tasks/main.yml
index ba3b9a923..e8615cb5a 100644
--- a/roles/rhel_subscribe/tasks/main.yml
+++ b/roles/rhel_subscribe/tasks/main.yml
@@ -27,6 +27,11 @@
creates: /etc/rhsm/ca/katello-server-ca.pem
when: rhel_subscription_server is defined and rhel_subscription_server
+- name: Install Red Hat Subscription manager
+ yum:
+ name: subscription-manager
+ state: present
+
- name: RedHat subscriptions
redhat_subscription:
username: "{{ rhel_subscription_user }}"