Skip to content

Commit

Permalink
added new section for uninstalling (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogrange authored Sep 19, 2023
1 parent 6bd5083 commit 4b88caf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ include::platform/proc-downloading-containerized-aap.adoc[leveloffset=+1]
include::platform/proc-using-postinstall.adoc[leveloffset=+1]
include::platform/proc-installing-containerized-aap.adoc[leveloffset=+1]
include::platform/ref-accessing-control-auto-hub-eda-control.adoc[leveloffset=+1]
include::platform/proc-uninstalling-containerized-aap.adoc[leveloffset=+1]


ifdef::parent-context-of-aap-containerized-installation[:context: {parent-context-of-aap-containerized-installation}]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
:_content-type: PROCEDURE

[id="uninstalling-containerized-aap_{context}"]
= Uninstalling containerized {PlatformNameShort}

[role="_abstract"]


To uninstall a containerized deployment, execute the *uninstall.yml* playbook.
----
$ ansible-playbook -i inventory ansible.containerized_installer.uninstall
----

This will stop all systemd units and containers and then delete all resources used by the containerized installer such as:

* config and data directories/files
* systemd unit files
* podman containers and images
* RPM packages

To keep container images, you can set the *container_keep_images* variable to true.
----
$ ansible-playbook -i inventory ansible.containerized_installer.uninstall -e container_keep_images=true
----
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,3 @@ https://<eda node>:445
----

Login as the admin user with the password you created for *eda_admin_password*.


== Uninstalling containerized {PlatformNameShort}

To uninstall a containerized deployment, execute the *uninstall.yml* playbook.
----
$ ansible-playbook -i inventory ansible.containerized_installer.uninstall
----

This will stop all systemd units and containers and then delete all resources used by the containerized installer such as:

* config and data directories/files
* systemd unit files
* podman containers and images
* RPM packages

To keep container images, you can set the *container_keep_images* variable to true.
----
$ ansible-playbook -i inventory ansible.containerized_installer.uninstall -e container_keep_images=true
----

0 comments on commit 4b88caf

Please sign in to comment.