Note
This plugin is part of the community.general collection (version 3.8.1).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.ss_3par_cpg
.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
cpg_name string / required | Name of the CPG. | |
disk_type string |
| Specifies that physical disks must have the specified device type. |
domain string | Specifies the name of the domain in which the object will reside. | |
growth_increment string | Specifies the growth increment(in MiB, GiB or TiB) the amount of logical disk storage created on each auto-grow operation. | |
growth_limit string | Specifies that the autogrow operation is limited to the specified storage amount that sets the growth limit(in MiB, GiB or TiB). | |
growth_warning string | Specifies that the threshold(in MiB, GiB or TiB) of used logical disk space when exceeded results in a warning alert. | |
high_availability string |
| Specifies that the layout must support the failure of one port pair, one cage, or one magazine. |
raid_type string |
| Specifies the RAID type for the logical disk. |
secure boolean |
| Specifies whether the certificate needs to be validated while communicating. |
set_size integer | Specifies the set size in the number of chunklets. | |
state string / required |
| Whether the specified CPG should exist or not. |
storage_system_ip string / required | The storage system IP address. | |
storage_system_password string / required | The storage system password. | |
storage_system_username string / required | The storage system user name. |
Note
- name: Create CPG sample_cpg community.general.ss_3par_cpg: storage_system_ip: 10.10.10.1 storage_system_username: username storage_system_password: password state: present cpg_name: sample_cpg domain: sample_domain growth_increment: 32000 MiB growth_limit: 64000 MiB growth_warning: 48000 MiB raid_type: R6 set_size: 8 high_availability: MAG disk_type: FC secure: no - name: Delete CPG sample_cpg community.general.ss_3par_cpg: storage_system_ip: 10.10.10.1 storage_system_username: username storage_system_password: password state: absent cpg_name: sample_cpg secure: no
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/general/ss_3par_cpg_module.html