Ver Fonte

Merge pull request #5456 from bliemli/master

Automatic merge from submit-queue

Fix deprecated subscription-manager command

`subscription-manager subscribe` is deprecated, use `attach` instead.
OpenShift Merge Robot há 7 anos atrás
pai
commit
f18cf4fd09
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      roles/rhel_subscribe/tasks/main.yml

+ 1 - 1
roles/rhel_subscribe/tasks/main.yml

@@ -62,7 +62,7 @@
   when: openshift_pool_id.stdout == '' and openshift_pool_attached is defined and openshift_pool_attached.stdout == ''
 
 - name: Attach to OpenShift Pool
-  command: subscription-manager subscribe --pool {{ openshift_pool_id.stdout_lines[0] }}
+  command: subscription-manager attach --pool {{ openshift_pool_id.stdout_lines[0] }}
   register: subscribe_pool
   until: subscribe_pool | succeeded
   when: openshift_pool_id.stdout != ''