summaryrefslogtreecommitdiffstats
path: root/roles/subscription-manager/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/subscription-manager/tasks')
-rw-r--r--roles/subscription-manager/tasks/main.yml4
1 files changed, 1 insertions, 3 deletions
diff --git a/roles/subscription-manager/tasks/main.yml b/roles/subscription-manager/tasks/main.yml
index adf3a8e85..bdb8ca7c4 100644
--- a/roles/subscription-manager/tasks/main.yml
+++ b/roles/subscription-manager/tasks/main.yml
@@ -3,9 +3,7 @@
set_fact:
rhsm_password: "{{ hostvars.localhost.rhsm_password }}"
when:
- - rhsm_password is defined
- - rhsm_password is not none
- - rhsm_password|trim != ''
+ - rhsm_password is not defined or rhsm_password is none or rhsm_password|trim == ''
- name: "Initializing Subscription Manager authenticaiton method"
set_fact: