ibm.storage_virtualize.ibm_svc_manage_ownershipgroup (2.3.1) — module

This module manages ownership group on IBM Storage Virtualize family systems

| "added in version" 1.7.0 of ibm.storage_virtualize"

Authors: Sanjaikumaar M (@sanjaikumaar)

Install collection

Install with ansible-galaxy collection install ibm.storage_virtualize:==2.3.1


Add to requirements.yml

  collections:
    - name: ibm.storage_virtualize
      version: 2.3.1

Description

Ansible interface to manage 'mkownershipgroup' and 'rmownershipgroup' commands.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create ownership group
  ibm.storage_virtualize.ibm_svc_manage_ownershipgroup:
    clustername: "{{ clustername }}"
    domain: "{{ domain }}"
    username: "{{ username }}"
    password: "{{ password }}"
    log_path: /tmp/playbook.debug
    name: newOwner
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete ownership group
  ibm.storage_virtualize.ibm_svc_manage_ownershipgroup:
    clustername: "{{ clustername }}"
    domain: "{{ domain }}"
    username: "{{ username }}"
    password: "{{ password }}"
    log_path: /tmp/playbook.debug
    name: newOwner
    state: absent
    keepobjects: true

Inputs

    
name:
    description:
    - Specifies the name or label for the new ownership group object.
    required: true
    type: str

state:
    choices:
    - absent
    - present
    description:
    - Creates (C(present)) or removes (C(absent)) an ownership group.
    required: true
    type: str

token:
    description:
    - The authentication token to verify a user on the Storage Virtualize system.
    - To generate a token, use the M(ibm.storage_virtualize.ibm_svc_auth) module.
    type: str

domain:
    description:
    - Domain for the Storage Virtualize system.
    - Valid when hostname is used for the parameter I(clustername).
    type: str

log_path:
    description:
    - Path of debug log file.
    type: str

password:
    description:
    - REST API password for the Storage Virtualize system.
    - The parameters I(username) and I(password) are required if not using I(token) to
      authenticate a user.
    type: str

username:
    description:
    - REST API username for the Storage Virtualize system.
    - The parameters I(username) and I(password) are required if not using I(token) to
      authenticate a user.
    type: str

clustername:
    description:
    - The hostname or management IP of the Storage Virtualize system.
    required: true
    type: str

keepobjects:
    description:
    - If specified, the objects that currently belong to the ownership group will be kept
      but will be moved to noownershipgroup.
    - Applies when I(state=disabled).
    type: bool

validate_certs:
    default: false
    description:
    - Validates certification.
    type: bool