summaryrefslogtreecommitdiffstats
path: root/roles/rhel_subscribe
diff options
context:
space:
mode:
authorKunal Limaye <kunallimaye@gmail.com>2017-01-18 08:36:28 +1100
committerJason DeTiberus <detiber@gmail.com>2017-01-18 10:19:29 -0500
commitc8b8b77d7d1f9af9a61e1b08f70b0c0682e3429d (patch)
tree0407a21156d27b305664fc70c2513d1df0ca72d6 /roles/rhel_subscribe
parent74216e24c0c02efccb304a6c1efe131775948e1e (diff)
downloadopenshift-c8b8b77d7d1f9af9a61e1b08f70b0c0682e3429d.tar.gz
openshift-c8b8b77d7d1f9af9a61e1b08f70b0c0682e3429d.tar.bz2
openshift-c8b8b77d7d1f9af9a61e1b08f70b0c0682e3429d.tar.xz
openshift-c8b8b77d7d1f9af9a61e1b08f70b0c0682e3429d.zip
Install subscription-manager to fix issue-3102
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 }}"