unmanage_volume – Performs Unmanage operations on the Volumes.

Synopsis

This playbook helps in performing the Unmanage operations on the Volume provided.

Parameters

name (True, str, None)

Name of the Volume

id (optional, str, None)

ID of the Volume

host_metadata_name (optional, str, None)

Host Name from the Storage specific metadata

Examples

- name: Volume Unmanage Playbook
  hosts: localhost
  gather_facts: no
  vars:
   auth:
    auth_url: https://<POWERVC>:5000/v3
    project_name: PROJECT-NAME
    username: USERID
    password: PASSWORD
    project_domain_name: PROJECT_DOMAIN_NAME
    user_domain_name: USER_DOMAIN_NAME
  tasks:
     - name: Perform Volume Unmanage Operations
       ibm.powervc.unmanage_volume:
          auth: "{{ auth }}"
          name: "VOLUME_NAME"
          host_metadata_name: "HOST_METADATA_NAME"
          validate_certs: no
       register: result
     - debug:
          var: result

- name: Volume Unmanage Playbook
  hosts: localhost
  gather_facts: no
  tasks:
     - name: Perform Volume Unmanage Operations
       ibm.powervc.unmanage_volume:
          cloud: "CLOUD_NAME"
          id: "VOLUME_ID"
          host_metadata_name: "HOST_METADATA_NAME"
          validate_certs: no
       register: result
     - debug:
          var: result

Status

  • This module is not guaranteed to have a backwards compatible interface. [preview]

  • This module is maintained by PowerVC.

Authors

  • Karteesh Kumar Vipparapelli (@vkarteesh)