Chapter 12. Uninstalling
This chapter explains how to uninstall Ansible Automation Platform.
12.1. Removing extension nodes
This action cannot be reversed.
Extension nodes are created as deployments in GCP Deployment Mananger. As such, the process to delete an Ansible Automation Platform extension node is the same as the process to delete the main Ansible Automation Platform deployment.
Procedure
- Select the main menu.
- Select Deployment Manager. If you do not see Deployment Manager, select View All Products.
Check the checkbox for the extension node you want to delete.
NoteExtension nodes and the main deployment are both found in Deployment Manager. Ensure that you select the extension node and not the main deployment. The name of the extension node was chosen by the person that created it.
- Click Delete in the top bar. This action cannot be reversed.
The extension node is deleted.
12.2. Uninstalling Ansible Automation Platform
This action cannot be reversed.
If an external Load Balancer was added for the deployment, it must be deleted before uninstalling the deployment. For more information, see Load Balancers.
If extension nodes were added to the deployment, they must also be deleted before uninstalling the deployment. Follow the instructions in Removing extension nodes
Procedure
- Select the main menu from the top left.
- Select Deployment Manager. If you do not see Deployment Manager, select View All Products.
- Tick the checkbox in front of the deployment to be deleted.
- Click Delete in the top bar. This action cannot be reversed.
It can take some time to complete the deletion.
12.3. Removing upgrade resources
The following procedures describes how to delete any resources left behind after an upgrade.
These actions cannot be reversed.
You must only perform these actions if your deployment has been deleted.
12.3.1. Removing the secrets
This action cannot be reversed.
Only perform this action if your deployment is deleted.
There are several possible secret names you can find, depending on the procedures you have completed:
- <deployment_name>-aap-secret-key
- <deployment_name>-aap-admin
- <deployment_name>-container_auth_private_key_pem
- <deployment_name>-container_auth_public_key_pem
- <deployment_name>-database_fields_symmetric_key
- <deployment_name>-pulp_cert
- <deployment_name>-pulp_key
Procedure
- Select the main menu from the top left.
- Select Security. If you do not see Security, select View All Products.
- Select Secret Manager.
- Search your deployment name, looking for the names in the list above.
- Click the More Actions icon ⋮ on the line of the deployment.
- Select Delete. The administration password is displayed.
- Enter the name of the secret.
- Click Delete Secret.
12.4. Removing backup resources
The following procedures describe how to delete any resources left behind when uninstalling your Ansible Automation Platform deployment, after having run a backup on it.
These actions cannot be reversed.
You must only perform these actions if your deployment has been deleted.
12.4.1. Removing the filestore
This action cannot be reversed.
- Procedure
- Select the main menu from the top left.
- Select Filestore. If you do not see Filestore, select View All Products.
- Select Backups.
-
The format of the backup name is
<DeploymentName>-filestore-<RandomSufix>. Filter using this name. - Click the More Actions icon ⋮ on the line of the deployment.
- Select Delete.
- The administration password is displayed.
- Enter the name of the secret.
- Click Delete Backup.
12.4.2. Removing the storage bucket
Procedure
- Select the main menu from the top left.
- Select Cloud Storage. If you do not see Cloud Storage, select View All Products.
- Select Buckets.
- Search for your deployment name.
- Click the More Actions icon ⋮ on the line of the deployment.
- Select Delete.
- The administration password is displayed.
- Enter the name of the secret.
- Click Delete Secret.
12.5. Removing remaining resources
The following procedures describes how to delete any resources left behind when uninstalling your Ansible Automation Platform deployment.
These actions cannot be reversed.
You must only perform these actions if your deployment has been deleted.
12.5.1. Removing the service account
If a new service account was created for the deployment and if it is not used anywhere else, it can be deleted
Procedure
- Select the main menu from the top left.
- Select IAM & Admin. If you do not see IAM & Admin, select View All Products.
- Select Service Accounts.
- Filter with the name of the service account.
- Click the More Actions icon ⋮ on the line of the service account.
- Select Delete.
- The administration password is displayed.
- Click Delete.