New in version 2.2.
parameter | required | default | choices | comments |
---|---|---|---|---|
api_password | yes | The password to authenticate with the SANtricity WebServices Proxy or embedded REST API. | ||
api_url | yes | The url to the SANtricity WebServices Proxy or embedded REST API. | ||
api_username | yes | The username to authenticate with the SANtricity WebServices Proxy or embedded REST API. | ||
cache_size_min | no | The minimum size (in size_units) of the ssd cache. The cache will be expanded if this exceeds the current size of the cache. | ||
disk_count | no | The minimum number of disks to use for building the cache. The cache will be expanded if this number exceeds the number of disks already in place | ||
io_type | no | filesystem |
| The type of workload to optimize the cache for. |
name | yes | The name of the SSD cache to manage | ||
size_unit | no | gb |
| The unit to be applied to size arguments |
ssid | yes | The ID of the array to manage (as configured on the web services proxy). | ||
state | yes | present |
| Whether the specified SSD cache should exist or not. |
validate_certs | no | True | Should https certificates be validated? |
- name: Flash Cache netapp_e_flashcache: ssid: "{{ ssid }}" api_url: "{{ netapp_api_url }}" api_username: "{{ netapp_api_username }}" api_password: "{{ netapp_api_password }}" validate_certs: "{{ netapp_api_validate_certs }}" name: SSDCacheBuiltByAnsible
Common return values are documented here Return Values, the following are the fields unique to this module:
name | description | returned | type | sample |
---|---|---|---|---|
msg | Success message | success | string | json for newly created flash cache |
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/netapp_e_flashcache_module.html