ibm / ibm.storage_virtualize / 2.3.1 / module / ibm_sv_manage_provisioning_policy This module configures and manages provisioning policies on IBM Storage Virtualize family systems | "added in version" 1.10.0 of ibm.storage_virtualize" Authors: Sanjaikumaar M (@sanjaikumaar)ibm.storage_virtualize.ibm_sv_manage_provisioning_policy (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 mkprovisioningpolicy, chprovisioningpolicy, and rmprovisioningpolicy commands.
- name: Create provisioning policy ibm.storage_virtualize.ibm_sv_manage_provisioning_policy: clustername: "{{cluster}}" username: "{{username}}" password: "{{password}}" name: provisioning_policy0 capacitysaving: "compressed" deduplicated: true state: present
- name: Rename provisioning policy ibm.storage_virtualize.ibm_sv_manage_provisioning_policy: clustername: "{{cluster}}" username: "{{username}}" password: "{{password}}" name: pp0 old_name: provisioning_policy0 state: present
- name: Delete replication policy ibm.storage_virtualize.ibm_sv_manage_provisioning_policy: clustername: "{{cluster}}" username: "{{username}}" password: "{{password}}" name: pp0 state: absent
name: description: - Specifies the name of the provisioning policy. - Specifies the new name during rename. required: true type: str state: choices: - present - absent description: - Creates, updates (C(present)), or deletes (C(absent)) a provisioning policy. 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 old_name: description: - Specifies the old name of the provisioning policy during renaming. - Valid when I(state=present) to rename an existing policy. 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 deduplicated: default: false description: - Specifies when volumes should be deduplicated. - Applicable when I(capacitysaving=thin) or I(capacitysaving=compressed). type: bool capacitysaving: choices: - drivebased - thin - compressed description: - Specifies the policy capacity savings. - Applies, when I(state=present), to create a provisioning policy. type: str validate_certs: default: false description: - Validates certification. type: bool