Chapter 42. Uninstalling Operator Lifecycle Manager
After installing your cluster, you can uninstall the Operator Lifecycle Manager by using the OpenShift Container Platform openshift-ansible installer.
42.1. Uninstalling Operator Lifecycle Manager using Ansible Copy linkLink copied to clipboard!
After installing your cluster, you can use this procedure with the OpenShift Container Platform openshift-ansible installer to uninstall the Technology Preview Operator Framework.
You must check the following prerequisites before uninstalling the Technology Preview Operator Framework:
- An existing OpenShift Container Platform 3.11 cluster
-
Access to the cluster using an account with
cluster-adminpermissions Ansible playbooks provided by the latest
openshift-ansibleinstallerAdd the following variables to your
config.ymlplaybook:operator_lifecycle_manager_install=false operator_lifecycle_manager_remove=true
operator_lifecycle_manager_install=false operator_lifecycle_manager_remove=trueCopy to Clipboard Copied! Toggle word wrap Toggle overflow Change to the playbook directory:
cd /usr/share/ansible/openshift-ansible
$ cd /usr/share/ansible/openshift-ansibleCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run the OLM installation playbook to uninstall OLM using your inventory file:
ansible-playbook -i <inventory_file> playbooks/olm/config.yml
$ ansible-playbook -i <inventory_file> playbooks/olm/config.ymlCopy to Clipboard Copied! Toggle word wrap Toggle overflow