<commit_before>// Module included in the following assemblies:
//
// * installing/installing_osp/uninstalling-cluster-osp.adoc

[id="installation-uninstall-infra_{context}"]
= Removing a cluster on {rh-openstack} that uses your own infrastructure

You can remove an {product-title} cluster on {rh-openstack-first} that uses your own infrastructure. To complete the removal process quickly, create and run several Ansible playbooks.

.Prerequisites

* Python 3 is installed on your machine
* You downloaded the modules in "Downloading playbook dependencies"

.Procedure

[NOTE]
You may have the `common.yaml` and `inventory.yaml` playbooks left over from when you installed {product-title}. If you do, you can skip the first two steps of the procedure.

. Insert the following content into a local file called `common.yaml`:
+
[source,yaml]
include::https://raw.githubusercontent.com/openshift/installer/release-4.6/upi/openstack/common.yaml[]
----

. Insert the following content into a local file called `inventory.yaml`, and edit the values to match your own:
+
[source,yaml]
----<commit_msg>Fix code block typo<commit_after>// Module included in the following assemblies:
//
// * installing/installing_osp/uninstalling-cluster-osp.adoc

[id="installation-uninstall-infra_{context}"]
= Removing a cluster on {rh-openstack} that uses your own infrastructure

You can remove an {product-title} cluster on {rh-openstack-first} that uses your own infrastructure. To complete the removal process quickly, create and run several Ansible playbooks.

.Prerequisites

* Python 3 is installed on your machine
* You downloaded the modules in "Downloading playbook dependencies"

.Procedure

[NOTE]
You may have the `common.yaml` and `inventory.yaml` playbooks left over from when you installed {product-title}. If you do, you can skip the first two steps of the procedure.

. Insert the following content into a local file called `common.yaml`:
+
[source,yaml]
----
include::https://raw.githubusercontent.com/openshift/installer/release-4.6/upi/openstack/common.yaml[]
----

. Insert the following content into a local file called `inventory.yaml`, and edit the values to match your own:
+
[source,yaml]
----
{'fraction_non_alphanumeric': 0.0964074579354252, 'fraction_numerical': 0.002728512960436562, 'mean_word_length': 4.626598465473146, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1071502', 'n_tokens_mistral': 627, 'n_tokens_neox': 602, 'n_words': 245}