summaryrefslogtreecommitdiffstats
path: root/roles/subscription-manager
diff options
context:
space:
mode:
Diffstat (limited to 'roles/subscription-manager')
-rw-r--r--roles/subscription-manager/pre_tasks/pre_tasks.yml6
1 files changed, 1 insertions, 5 deletions
diff --git a/roles/subscription-manager/pre_tasks/pre_tasks.yml b/roles/subscription-manager/pre_tasks/pre_tasks.yml
index 8a4d8d06d..b21356cf2 100644
--- a/roles/subscription-manager/pre_tasks/pre_tasks.yml
+++ b/roles/subscription-manager/pre_tasks/pre_tasks.yml
@@ -1,12 +1,8 @@
---
- name: "Set password fact"
set_fact:
- rhsm_password: "{{ rhsm_password }}"
+ rhsm_password: "{{ rhsm_password | default(None) }}"
no_log: true
- when:
- - rhsm_password is defined
- - rhsm_password is not none
- - rhsm_password|trim != ''
- name: "Initialize Subscription Manager fact"
set_fact: