summaryrefslogtreecommitdiffstats
path: root/roles/subscription-manager/tasks
diff options
context:
space:
mode:
authorVinny Valdez <vvaldez@redhat.com>2016-04-08 18:44:23 -0500
committerVinny Valdez <vvaldez@redhat.com>2016-04-20 09:28:48 -0500
commit39f973fcfd40fde18f5e92259d05e4ba6b30e22e (patch)
tree20e81525c6aff6a2d033d2e0c1f39453dfc7a426 /roles/subscription-manager/tasks
parent71f4817263a21b6e2062b35928ebfab373d26278 (diff)
downloadopenshift-39f973fcfd40fde18f5e92259d05e4ba6b30e22e.tar.gz
openshift-39f973fcfd40fde18f5e92259d05e4ba6b30e22e.tar.bz2
openshift-39f973fcfd40fde18f5e92259d05e4ba6b30e22e.tar.xz
openshift-39f973fcfd40fde18f5e92259d05e4ba6b30e22e.zip
Remove vars_prompt, add info to README to re-enable and for ansible-vault
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: