summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-09-21 08:33:27 -0700
committerGitHub <noreply@github.com>2017-09-21 08:33:27 -0700
commitf18cf4fd09448f2546d1c903f68acadb0c1367d9 (patch)
tree1399b0ad552418de1d66c8e80e9daad27d4e0da3 /roles
parentfd9ff637477df20a399632f2360362bc3a0b4be2 (diff)
parent1cd1994e83a7adf2b7712ec737a29a3ccacab0d6 (diff)
downloadopenshift-f18cf4fd09448f2546d1c903f68acadb0c1367d9.tar.gz
openshift-f18cf4fd09448f2546d1c903f68acadb0c1367d9.tar.bz2
openshift-f18cf4fd09448f2546d1c903f68acadb0c1367d9.tar.xz
openshift-f18cf4fd09448f2546d1c903f68acadb0c1367d9.zip
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.
Diffstat (limited to 'roles')
-rw-r--r--roles/rhel_subscribe/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/rhel_subscribe/tasks/main.yml b/roles/rhel_subscribe/tasks/main.yml
index c49512146..c43e5513d 100644
--- a/roles/rhel_subscribe/tasks/main.yml
+++ b/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 != ''