You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Infrastructure_as_Code/Ansible/Volume_Management/README.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,12 @@ node to have network connectivity to the FSx for ONTAP file system. For more inf
7
7
Workload Factory Link, please refer to the [NetApp Workload Factory documentation](https://docs.netapp.com/us-en/workload-fsx-ontap/links-overview.html).
8
8
9
9
The list of playbooks included in this folder is as follows:
10
-
- create\_volume.yaml
11
-
- delete\_volume.yaml
12
10
- create\_snapshot.yaml
13
11
- delete\_snapshot.yaml
12
+
- create\_volume.yaml
13
+
- delete\_volume.yaml
14
+
- create\_volume\_and\_share.yaml
15
+
- delete\_volume\_and\_share.yaml
14
16
15
17
## Requirements
16
18
- Ansible 2.9 or later. Installation instructions can be found [here](https://docs.ansible.com/ansible/latest/installation_guide/index.html)
@@ -28,11 +30,11 @@ Each playbook requires various variables to be set in order to run.
28
30
| volume\_name| All | Yes | None | The name of the volume you want to act on.|
29
31
| lambda\_function\_name| All | No | None | The name of the Workload Factory Link Lambda function to use when issuing API calls to the FSx for ONTAP file system.|
30
32
| aws\_region | All | No | None | The AWS region where the Lambda function resides.|
31
-
| volume\_size| create\_volume | Yes | None | The size, in MiBs, of the volume to create.|
32
-
| security\_style | create\_volume | No | UNIX | The security style to use when creating the volume. Valid options are UNIX or NTFS.|
33
-
| aggr | create\_volume | No | aggr1 | The name of the aggregate to create the volume on.|
34
-
| volume\_type | create\_volume | No | RW | The type of volume to create. Valid options are RW and DP.|
35
-
| junction\_path | create\_volume | No |`/<volume_name>`| The junction path to use when creating the volume.|
33
+
| volume\_size| create\_volume\*| Yes | None | The size, in MiBs, of the volume to create.|
34
+
| security\_style | create\_volume\*| No | UNIX | The security style to use when creating the volume. Valid options are UNIX or NTFS.|
35
+
| aggr | create\_volume\*| No | aggr1 | The name of the aggregate to create the volume on.|
36
+
| volume\_type | create\_volume\*| No | RW | The type of volume to create. Valid options are RW and DP.|
37
+
| junction\_path | create\_volume\*| No |`/<volume_name>`| The junction path to use when creating the volume.|
36
38
| snapshot\_name | create\_snapshot | Yes | None | The name of the snapshot to create.|
37
39
38
40
A convenient way to set all the required variable is to put them into a file named `variables.yaml`.
0 commit comments