This folder contains simple playbook examples to do the follow:
- Create and Delete a Volume
- Create and Delete a Host
- Create and Delete a Host Group
- Create and Delete a Volume Group
- Create a Volume Snapshot
ansible-playbook volume.yml --extra-vars"array_ip=<array_ip_here> user=admin password=<password_here>"
- Create and Delete a Volume
- Create and Delete a Host
Save your credentials:
pstcli -d 10.0.0.1 -u admin -p MyPassword456! -save_cred
Create and Delete volume example using the CLI
pstcli -header volume create -name test_volume_001 -size 819200000
pstcli -header volume -name test_volume_001 delete