Huang-Jack / powerstore-lab

Ansible and additional files to support the PowerStore Lab automation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Makefile 100.0%