ibm / ibm.storage_virtualize / 2.3.1 / module / ibm_svc_manage_ownershipgroup 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)ibm.storage_virtualize.ibm_svc_manage_ownershipgroup (2.3.1) — module
Install with ansible-galaxy collection install ibm.storage_virtualize:==2.3.1
collections: - name: ibm.storage_virtualize version: 2.3.1
Ansible interface to manage 'mkownershipgroup' and 'rmownershipgroup' commands.
- 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
- 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
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