From c0f63fb902b53bc592e6862d5876af9b244ee82b Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Thu, 5 Oct 2017 15:42:18 -0400 Subject: Rename openshift_cfme role to openshift_management --- roles/openshift_cfme/tasks/main.yml | 79 ------------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 roles/openshift_cfme/tasks/main.yml (limited to 'roles/openshift_cfme/tasks/main.yml') diff --git a/roles/openshift_cfme/tasks/main.yml b/roles/openshift_cfme/tasks/main.yml deleted file mode 100644 index 78a6710b3..000000000 --- a/roles/openshift_cfme/tasks/main.yml +++ /dev/null @@ -1,79 +0,0 @@ ---- -######################################################################) -# Users, projects, and privileges - -- name: Run pre-install CFME validation checks - include: validate.yml - -- name: "Ensure the CFME '{{ openshift_cfme_project }}' namespace exists" - oc_project: - state: present - name: "{{ openshift_cfme_project }}" - display_name: "{{ openshift_cfme_project_description }}" - -- name: Create and Authorize CFME Accounts - include: accounts.yml - -###################################################################### -# STORAGE - Initialize basic storage class -#--------------------------------------------------------------------- -# * nfs - set up NFS shares on the first master for a proof of concept -- name: Create required NFS exports for CFME app storage - include: storage/nfs.yml - when: openshift_cfme_storage_class == 'nfs' - -#--------------------------------------------------------------------- -# * external - NFS again, but pointing to a pre-configured NFS server -- name: Note Storage Type - External NFS - debug: - msg: "Setting up external NFS storage, openshift_cfme_storage_class is {{ openshift_cfme_storage_class }}" - when: openshift_cfme_storage_class == 'nfs_external' - -#--------------------------------------------------------------------- -# * cloudprovider - use an existing cloudprovider based storage -- name: Note Storage Type - Cloud Provider - debug: - msg: Validating cloud provider storage type, openshift_cfme_storage_class is 'cloudprovider' - when: openshift_cfme_storage_class == 'cloudprovider' - -#--------------------------------------------------------------------- -# * preconfigured - don't do anything, assume it's all there ready to go -- name: Note Storage Type - Preconfigured - debug: - msg: Skipping storage configuration, openshift_cfme_storage_class is 'preconfigured' - when: openshift_cfme_storage_class == 'preconfigured' - -###################################################################### -# APPLICATION TEMPLATE -- name: Install the CFME app and PV templates - include: template.yml - -###################################################################### -# APP & DB Storage - -# For local/external NFS backed installations -- name: "Create the required App and DB PVs using {{ openshift_cfme_storage_class }}" - include: storage/create_nfs_pvs.yml - when: - - openshift_cfme_storage_class in ['nfs', 'nfs_external'] - -###################################################################### -# CREATE APP -- name: Note the correct ext-db template name - set_fact: - openshift_cfme_template_name: "{{ openshift_cfme_flavor }}-ext-db" - when: - - openshift_cfme_app_template in ['miq-template-ext-db', 'cfme-template-ext-db'] - -- name: Note the correct podified db template name - set_fact: - openshift_cfme_template_name: "{{ openshift_cfme_flavor }}" - when: - - openshift_cfme_app_template in ['miq-template', 'cfme-template'] - -- name: Ensure the CFME App is created - oc_process: - namespace: "{{ openshift_cfme_project }}" - template_name: "{{ openshift_cfme_template_name }}" - create: True - params: "{{ openshift_cfme_template_parameters }}" -- cgit v1.2.3