Chapter 12. Uninstalling

This chapter explains how to uninstall Ansible Automation Platform.

12.1. Removing extension nodes

Important

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

  1. Select the main menu.
  2. Select Deployment Manager. If you do not see Deployment Manager, select View All Products.
  3. Check the checkbox for the extension node you want to delete.

    Note

    Extension 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.

  4. Click Delete in the top bar. This action cannot be reversed.

The extension node is deleted.

12.2. Uninstalling Ansible Automation Platform

Important

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

  1. Select the main menu from the top left.
  2. Select Deployment Manager. If you do not see Deployment Manager, select View All Products.
  3. Tick the checkbox in front of the deployment to be deleted.
  4. 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.

Note

These actions cannot be reversed.

You must only perform these actions if your deployment has been deleted.

12.3.1. Removing the secrets

Note

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

  1. Select the main menu from the top left.
  2. Select Security. If you do not see Security, select View All Products.
  3. Select Secret Manager.
  4. Search your deployment name, looking for the names in the list above.
  5. Click the More Actions icon on the line of the deployment.
  6. Select Delete. The administration password is displayed.
  7. Enter the name of the secret.
  8. 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.

Note

These actions cannot be reversed.

You must only perform these actions if your deployment has been deleted.

12.4.1. Removing the filestore

Note

This action cannot be reversed.

  1. Procedure
  2. Select the main menu from the top left.
  3. Select Filestore. If you do not see Filestore, select View All Products.
  4. Select Backups.
  5. The format of the backup name is <DeploymentName>-filestore-<RandomSufix>. Filter using this name.
  6. Click the More Actions icon on the line of the deployment.
  7. Select Delete.
  8. The administration password is displayed.
  9. Enter the name of the secret.
  10. Click Delete Backup.

12.4.2. Removing the storage bucket

Procedure

  1. Select the main menu from the top left.
  2. Select Cloud Storage. If you do not see Cloud Storage, select View All Products.
  3. Select Buckets.
  4. Search for your deployment name.
  5. Click the More Actions icon on the line of the deployment.
  6. Select Delete.
  7. The administration password is displayed.
  8. Enter the name of the secret.
  9. 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.

Note

These actions cannot be reversed.

You must only perform these actions if your deployment has been deleted.

12.5.1. Removing the service account

Important

If a new service account was created for the deployment and if it is not used anywhere else, it can be deleted

Procedure

  1. Select the main menu from the top left.
  2. Select IAM & Admin. If you do not see IAM & Admin, select View All Products.
  3. Select Service Accounts.
  4. Filter with the name of the service account.
  5. Click the More Actions icon on the line of the service account.
  6. Select Delete.
  7. The administration password is displayed.
  8. Click Delete.