Skip to content

Ansible and additional files to support the PowerStore Lab automation

Notifications You must be signed in to change notification settings

EMC-Underground/powerstore-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

powerstore-lab

basic_examples

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

Example of How to run a basic_examples playbook:

ansible-playbook volume.yml --extra-vars"array_ip=<array_ip_here> user=admin password=<password_here>"

Examples of how to run the CLI to:

  • 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

About

Ansible and additional files to support the PowerStore Lab automation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published