Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 2.72 KB

File metadata and controls

54 lines (38 loc) · 2.72 KB
copyright lastupdated keywords subcollection
years
2017, 2025
2025-11-03
schematics, schematics action delete, delete schematics actions, delete ansible playbooks, delete action,
schematics

{{site.data.keyword.attribute-definition-list}}

Deleting {{site.data.keyword.bpshort}} action

{: #delete-ansible-actions}

If you no longer need your {{site.data.keyword.bpshort}} action, you can delete it. Deleting an action removes the Ansible playbook and your action data. However, any configurations applied to your target host by using the action are not removed. {: shortdesc}

Deleting an action by using Console

{: #create-action-working-ui} {: ui}

  1. Log in to {{site.data.keyword.cloud_notm}} console{: external}.
  2. Navigate to Menu icon Hamburger icon > Platform Automation > Schematics > Ansible{: external}
  3. Click the three vertical dots to view the Delete option against the Ansible action that you want to delete.
  4. From the Delete ansible popup window, type and confirm the action that you want to delete.
  5. Click Delete

Deleting an action by using CLI

{: #delete-action-working-cli} {: cli}

  1. From your local command line interface{: external} setup your CLI and {{site.data.keyword.bpshort}} plug-in.
  2. Delete an action by using the ibmcloud schematics action delete command.
  3. Delete an inventory by using the ibmcloud schematics inventory delete command.
  4. Check the logs to verify that the creation was successful.

Deleting an action by using API

{: #delete-action-settings-api} {: api}

  1. Retrieve your IAM access token and authenticate with {{site.data.keyword.bpshort}} by using the API.
  2. Delete an action by sending a DELETE request.
  3. Delete an inventory by sending a DELETE request.
  4. Check the response status to verify that the deletion was successful.

Next steps

{: #action-working-update-nextsteps}

After your {{site.data.keyword.bpshort}} action or inventory delete, you can further enhance your automation workflow with the following options:

  • Creating an auto deploy button. The feature allows you to trigger your {{site.data.keyword.bpshort}} action automatically, streamlining the deployment process and reducing manual intervention.