netapp.aws.aws_netapp_cvs_filesystems module – NetApp AWS Cloud Volumes Service Manage FileSystem.
Note
This module is part of the netapp.aws collection (version 21.7.0).
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 netapp.aws
.
To use it in a playbook, specify: netapp.aws.aws_netapp_cvs_filesystems
.
New in netapp.aws 2.9.0
Synopsis
Create, Update, Delete fileSystem on AWS Cloud Volumes Service.
Parameters
Parameter |
Comments |
---|---|
The access key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API. |
|
The url to the AWSCVS Web Services Proxy or Embedded Web Services API. |
|
Name of the filesystem |
|
The policy rules to export the filesystem |
|
Set of rules to export the filesystem Requires allowedClients, access and protocol |
|
Comma separated list of ip address blocks of the clients to access the fileSystem Each address block contains the starting IP address and size for the block |
|
Enable or disable cifs filesystem Choices:
|
|
Enable or disable nfsv3 fileSystem Choices:
|
|
Enable or disable nfsv4 filesystem Choices:
|
|
Index number of the rule |
|
Should fileSystem have read only permission or not Choices:
|
|
Should fileSystem have read write permission or not Choices:
|
|
Enable or disable a new feature. This can be used to enable an experimental feature or disable a new feature that breaks backward compatibility. Supported keys and values are subject to change without notice. Unknown keys are ignored. trace_apis can be set to true to enable tracing, data is written to /tmp/um_apis.log. |
|
Size of the filesystem Required for create |
|
The region to which the filesystem belongs to. |
|
The secret_key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API. |
|
Service Level of a filesystem. Choices:
|
|
Whether the specified fileSystem should exist or not. Choices:
|
|
Should https certificates be validated? Choices:
|
Notes
Note
The modules prefixed with aws\_cvs\_netapp are built to Manage AWS Cloud Volumes Service .
Examples
- name: Create FileSystem
aws_netapp_cvs_filesystems:
state: present
region: us-east-1
creationToken: newVolume-1
exportPolicy:
rules:
- allowedClients: 172.16.0.4
cifs: False
nfsv3: True
nfsv4: True
ruleIndex: 1
unixReadOnly: True
unixReadWrite: False
quotaInBytes: 100000000000
api_url : cds-aws-bundles.netapp.com:8080
api_key: My_API_Key
secret_key : My_Secret_Key
- name: Update FileSystem
aws_netapp_cvs_filesystems:
state: present
region: us-east-1
creationToken: newVolume-1
exportPolicy:
rules:
- allowedClients: 172.16.0.4
cifs: False
nfsv3: True
nfsv4: True
ruleIndex: 1
unixReadOnly: True
unixReadWrite: False
quotaInBytes: 200000000000
api_url : cds-aws-bundles.netapp.com:8080
api_key: My_API_Key
secret_key : My_Secret_Key
- name: Delete FileSystem
aws_netapp_cvs_filesystems:
state: present
region: us-east-1
creationToken: newVolume-1
quotaInBytes: 100000000000
api_url : cds-aws-bundles.netapp.com:8080
api_key: My_API_Key
secret_key : My_Secret_Key