Skip to content

Commit

Permalink
Fixes Issue rhtconsulting#163 if rhsm_password is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
vvaldez committed Jul 15, 2016
1 parent 9b802e5 commit 95b3774
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 95b3774

Please sign in to comment.