소스 검색

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 7 년 전
부모
커밋
f18cf4fd09
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 != ''