From 3965ebbcedf183ad68373b73951fe895b2e654db Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Sun, 15 Mar 2015 14:19:02 -0500 Subject: [PATCH] Move entitlement setup to it's own file Signed-off-by: Andrew Schoen --- roles/common/tasks/setup-redhat.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/roles/common/tasks/setup-redhat.yml b/roles/common/tasks/setup-redhat.yml index cb1575d..f77f008 100644 --- a/roles/common/tasks/setup-redhat.yml +++ b/roles/common/tasks/setup-redhat.yml @@ -1,16 +1,3 @@ --- -- name: Include Red Hat encrypted variables. - include_vars: redhat.yml - no_log: true - -- name: Determine if node is registered with subscription-manager. - command: subscription-manager identity - register: subscription - ignore_errors: yes - changed_when: false - - name: Register with subscription-manager. - command: subscription-manager register - --activationkey={{ subscription_manager_activationkey }} - --org={{ subscription_manager_org }} - when: subscription.rc != 0 + include: redhat/entitlements.yml -- 2.39.5