summaryrefslogtreecommitdiffstats
path: root/roles/rhel_subscribe
diff options
context:
space:
mode:
Diffstat (limited to 'roles/rhel_subscribe')
-rw-r--r--roles/rhel_subscribe/tasks/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/rhel_subscribe/tasks/main.yml b/roles/rhel_subscribe/tasks/main.yml
index 6337cd644..e7eb6c572 100644
--- a/roles/rhel_subscribe/tasks/main.yml
+++ b/roles/rhel_subscribe/tasks/main.yml
@@ -8,7 +8,7 @@
name: subscription-manager
state: present
register: result
- until: result | success
+ until: result is succeeded
- name: Is host already registered?
command: "subscription-manager version"
@@ -20,7 +20,7 @@
username: "{{ rhsub_user }}"
password: "{{ rhsub_pass }}"
register: rh_subscription
- until: rh_subscription | succeeded
+ until: rh_subscription is succeeded
when:
- "'not registered' in rh_subscribed.stdout"