Explorar o código

Install subscription-manager to fix issue-3102

Kunal Limaye %!s(int64=8) %!d(string=hai) anos
pai
achega
c8b8b77d7d
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      roles/rhel_subscribe/tasks/main.yml

+ 5 - 0
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 }}"