netapp / netapp.aws / 21.7.1 / module / aws_netapp_cvs_filesystems NetApp AWS Cloud Volumes Service Manage FileSystem. | "added in version" 2.9.0 of netapp.aws" Authors: NetApp Ansible Team (@carchi8py) <ng-ansibleteam@netapp.com> preview | supported by communitynetapp.aws.aws_netapp_cvs_filesystems (21.7.1) — module
Install with ansible-galaxy collection install netapp.aws:==21.7.1
collections: - name: netapp.aws version: 21.7.1
Create, Update, Delete fileSystem on AWS Cloud Volumes Service.
- 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
state: choices: - present - absent description: - Whether the specified fileSystem should exist or not. required: true type: str region: description: - The region to which the filesystem belongs to. required: true type: str api_key: description: - The access key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API. required: true type: str api_url: description: - The url to the AWSCVS Web Services Proxy or Embedded Web Services API. required: true type: str secret_key: description: - The secret_key to authenticate with the AWSCVS Web Services Proxy or Embedded Web Services API. required: true type: str exportPolicy: description: - The policy rules to export the filesystem suboptions: rules: description: - Set of rules to export the filesystem - Requires allowedClients, access and protocol elements: dict suboptions: allowedClients: description: - 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 type: str cifs: description: - Enable or disable cifs filesystem type: bool nfsv3: description: - Enable or disable nfsv3 fileSystem type: bool nfsv4: description: - Enable or disable nfsv4 filesystem type: bool ruleIndex: description: - Index number of the rule type: int unixReadOnly: description: - Should fileSystem have read only permission or not type: bool unixReadWrite: description: - Should fileSystem have read write permission or not type: bool type: list type: dict quotaInBytes: description: - Size of the filesystem - Required for create type: int serviceLevel: choices: - standard - premium - extreme description: - Service Level of a filesystem. type: str creationToken: description: - Name of the filesystem required: true type: str feature_flags: description: - 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. type: dict version_added: 21.6.0 version_added_collection: netapp.aws validate_certs: default: true description: - Should https certificates be validated? required: false type: bool