summaryrefslogtreecommitdiffstats
path: root/roles/subscription-manager
diff options
context:
space:
mode:
authorEric Sauer <etsauer@gmail.com>2016-07-18 16:03:53 -0400
committerGitHub <noreply@github.com>2016-07-18 16:03:53 -0400
commit3e3c7761068ed57b7cbee0329bd02d234b82e0e1 (patch)
treef1807aecec390ac8eea3bcdbde9c06e49b3de983 /roles/subscription-manager
parentf8381a06ca2e23e3628f6fd7c215d633eb7d8998 (diff)
parentfbf2f35080f666f68994e30174a590b8308b59f3 (diff)
downloadopenshift-3e3c7761068ed57b7cbee0329bd02d234b82e0e1.tar.gz
openshift-3e3c7761068ed57b7cbee0329bd02d234b82e0e1.tar.bz2
openshift-3e3c7761068ed57b7cbee0329bd02d234b82e0e1.tar.xz
openshift-3e3c7761068ed57b7cbee0329bd02d234b82e0e1.zip
Merge pull request #218 from vvaldez/issue_163
Fixes Issue #163 if rhsm_password is not defined
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: