Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 4. Deprovisioning individual nodes or groups
You can deprovision automation mesh nodes and instance groups using the Ansible Automation Platform installer. The procedures in this section describe how to deprovision specific nodes or entire groups, with example inventory files for each procedure.
4.1. Deprovisioning individual nodes using the installer Link kopierenLink in die Zwischenablage kopiert!
You can deprovision nodes from your automation mesh using the Ansible Automation Platform installer. Edit the inventory file to mark the nodes to deprovision, then run the installer. Running the installer also removes all configuration files and logs attached to the node.
You can deprovision any of your inventory’s hosts except for the first host specified in the [automationcontroller] group.
Procedure
-
Append
node_state=deprovisionto nodes in the installer file you want to deprovision.
Example
This example inventory file deprovisions two nodes from an automation mesh configuration.
4.1.1. Deprovisioning isolated nodes Link kopierenLink in die Zwischenablage kopiert!
You have the option to manually remove any isolated nodes using the awx-manage deprovisioning utility.
Use the deprovisioning command to remove only isolated nodes that have not migrated to execution nodes. To deprovision execution nodes from your automation mesh architecture, use the installer method instead.
Procedure
Shut down the instance:
automation-controller-service stop
$ automation-controller-service stopCopy to Clipboard Copied! Toggle word wrap Toggle overflow Run the deprovision command from another instance, replacing
host_namewith the name of the node as listed in the inventory file:awx-manage deprovision_instance --hostname=<host_name>
$ awx-manage deprovision_instance --hostname=<host_name>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
4.2. Deprovisioning groups using the installer Link kopierenLink in die Zwischenablage kopiert!
You can deprovision entire groups from your automation mesh using the Ansible Automation Platform installer. Running the installer will remove all configuration files and logs attached to the nodes in the group.
You can deprovision any hosts in your inventory except for the first host specified in the [automationcontroller] group.
Procedure
-
Add
node_state=deprovisionto the [group:vars] associated with the group you wish to deprovision.
Example
4.2.1. Deprovisioning isolated instance groups Link kopierenLink in die Zwischenablage kopiert!
You have the option to manually remove any isolated instance groups using the awx-manage deprovisioning utility.
Use the deprovisioning command to only remove isolated instance groups. To deprovision instance groups from your automation mesh architecture, use the installer method instead.
Procedure
Run the following command, replacing
<name>with the name of the instance group:awx-manage unregister_queue --queuename=<name>
$ awx-manage unregister_queue --queuename=<name>Copy to Clipboard Copied! Toggle word wrap Toggle overflow