Procházet zdrojové kódy

Install subscription-manager to fix issue-3102

Kunal Limaye před 8 roky
rodič
revize
c8b8b77d7d
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  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
     creates: /etc/rhsm/ca/katello-server-ca.pem
   when: rhel_subscription_server is defined and rhel_subscription_server
   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
 - name: RedHat subscriptions
   redhat_subscription:
   redhat_subscription:
     username: "{{ rhel_subscription_user }}"
     username: "{{ rhel_subscription_user }}"