diff options
author | Vinny Valdez <vvaldez@redhat.com> | 2016-07-15 14:05:13 -0500 |
---|---|---|
committer | Vinny Valdez <vvaldez@redhat.com> | 2016-07-15 14:05:13 -0500 |
commit | fbf2f35080f666f68994e30174a590b8308b59f3 (patch) | |
tree | f1807aecec390ac8eea3bcdbde9c06e49b3de983 | |
parent | 173ecf934103a0b0f8176711ee4f3023855df12a (diff) | |
download | openshift-fbf2f35080f666f68994e30174a590b8308b59f3.tar.gz openshift-fbf2f35080f666f68994e30174a590b8308b59f3.tar.bz2 openshift-fbf2f35080f666f68994e30174a590b8308b59f3.tar.xz openshift-fbf2f35080f666f68994e30174a590b8308b59f3.zip |
Fixes Issue #163 if rhsm_password is not defined
-rw-r--r-- | roles/subscription-manager/pre_tasks/pre_tasks.yml | 6 |
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: |