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.yml4
-rw-r--r--roles/subscription-manager/tasks/main.yml2
2 files changed, 3 insertions, 3 deletions
diff --git a/roles/subscription-manager/pre_tasks/pre_tasks.yml b/roles/subscription-manager/pre_tasks/pre_tasks.yml
index b21356cf2..464670fc0 100644
--- a/roles/subscription-manager/pre_tasks/pre_tasks.yml
+++ b/roles/subscription-manager/pre_tasks/pre_tasks.yml
@@ -11,7 +11,7 @@
- name: "Determine if Subscription Manager should be used"
set_fact:
rhsm_register: false
- when:
+ when:
- rhsm_satellite is undefined or rhsm_satellite is none or rhsm_satellite|trim == ''
- rhsm_username is undefined or rhsm_username is none or rhsm_username|trim == ''
- rhsm_password is undefined or rhsm_password is none or rhsm_password|trim == ''
@@ -21,7 +21,7 @@
- name: "Validate Subscription Manager organization is set"
fail: msg="Cannot register to a Satellite server without a value for the Organization via 'rhsm_org'"
- when:
+ when:
- rhsm_org is undefined or rhsm_org is none or rhsm_org|trim == ''
- rhsm_satellite is defined
- rhsm_satellite is not none
diff --git a/roles/subscription-manager/tasks/main.yml b/roles/subscription-manager/tasks/main.yml
index 2dd14b48e..8c1ae697a 100644
--- a/roles/subscription-manager/tasks/main.yml
+++ b/roles/subscription-manager/tasks/main.yml
@@ -4,7 +4,7 @@
rhsm_password: "{{ hostvars.localhost.rhsm_password }}"
when:
- rhsm_password is not defined or rhsm_password is none or rhsm_password|trim == ''
-
+
- name: "Initializing Subscription Manager authentication method"
set_fact:
rhsm_authentication: false