diff options
author | Øystein Bedin <oybed@users.noreply.github.com> | 2017-06-16 13:25:27 -0400 |
---|---|---|
committer | Ryan Cook <rcook@redhat.com> | 2017-06-16 10:25:27 -0700 |
commit | 7ba2ef768b25b99f628c88a8e6348a8d0df630a0 (patch) | |
tree | d96d9d6f202955cf980b043376eeedb36482ebc9 /roles/subscription-manager/pre_tasks | |
parent | a6bf0552961c7b8c63639850fd0501941e89938f (diff) | |
download | openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.gz openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.bz2 openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.tar.xz openshift-7ba2ef768b25b99f628c88a8e6348a8d0df630a0.zip |
Revert "Add an Openstack provider (#397)" (#465)
This reverts commit 94756e66352439d48e5d02b461679bd0f1e121cb.
Diffstat (limited to 'roles/subscription-manager/pre_tasks')
-rw-r--r-- | roles/subscription-manager/pre_tasks/pre_tasks.yml | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/roles/subscription-manager/pre_tasks/pre_tasks.yml b/roles/subscription-manager/pre_tasks/pre_tasks.yml deleted file mode 100644 index 464670fc0..000000000 --- a/roles/subscription-manager/pre_tasks/pre_tasks.yml +++ /dev/null @@ -1,45 +0,0 @@ ---- -- name: "Set password fact" - set_fact: - rhsm_password: "{{ rhsm_password | default(None) }}" - no_log: true - -- name: "Initialize Subscription Manager fact" - set_fact: - rhsm_register: true - -- name: "Determine if Subscription Manager should be used" - set_fact: - rhsm_register: false - 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 == '' - - rhsm_org is undefined or rhsm_org is none or rhsm_org|trim == '' - - rhsm_activationkey is undefined or rhsm_activationkey is none or rhsm_activationkey|trim == '' - - rhsm_pool is undefined or rhsm_pool is none or rhsm_pool|trim == '' - -- 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: - - rhsm_org is undefined or rhsm_org is none or rhsm_org|trim == '' - - rhsm_satellite is defined - - rhsm_satellite is not none - - rhsm_satellite|trim != '' - - rhsm_register - -- name: "Validate Subscription Manager authentication is defined" - fail: msg="Cannot register without ('rhsm_username' and 'rhsm_password') or 'rhsm_activationkey' variables set. See the README.md for details on securely prompting for a password" - when: - - (rhsm_username is undefined or rhsm_username is none or rhsm_username|trim == '') or (rhsm_password is undefined or rhsm_password is none or rhsm_password|trim == '') - - rhsm_activationkey is undefined or rhsm_activationkey is none or rhsm_activationkey|trim == '' - - rhsm_register - -- name: "Validate activation key and Hosted are not requested together" - fail: msg="Cannot register to RHSM Hosted with 'rhsm_activationkey'" - when: - - rhsm_satellite is undefined or rhsm_satellite is none or rhsm_satellite|trim == '' - - rhsm_activationkey is defined - - rhsm_activationkey is not none - - rhsm_activationkey|trim != '' - - rhsm_register |