diff options
author | Benjamin Affolter <bliemli@users.noreply.github.com> | 2017-09-19 13:54:05 +0200 |
---|---|---|
committer | Benjamin Affolter <bliemli@users.noreply.github.com> | 2017-09-21 09:10:29 +0200 |
commit | 1cd1994e83a7adf2b7712ec737a29a3ccacab0d6 (patch) | |
tree | bbb11f8b7822b7ecc0b921525d55c947b7009fb0 /roles/rhel_subscribe | |
parent | a3906249b7a1752bb6fb42da6ceb72279fd67e90 (diff) | |
download | openshift-1cd1994e83a7adf2b7712ec737a29a3ccacab0d6.tar.gz openshift-1cd1994e83a7adf2b7712ec737a29a3ccacab0d6.tar.bz2 openshift-1cd1994e83a7adf2b7712ec737a29a3ccacab0d6.tar.xz openshift-1cd1994e83a7adf2b7712ec737a29a3ccacab0d6.zip |
Fix deprecated subscription-manager command
Diffstat (limited to 'roles/rhel_subscribe')
-rw-r--r-- | roles/rhel_subscribe/tasks/main.yml | 2 |
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 != '' |