{"id":28376053,"url":"https://github.com/purestorage-openconnect/testdrivenewstack","last_synced_at":"2025-07-19T22:40:16.724Z","repository":{"id":54670612,"uuid":"292024690","full_name":"PureStorage-OpenConnect/TestDriveNewStack","owner":"PureStorage-OpenConnect","description":"An easy way to try out Ansible  in a totally isolated, Pure Storage Test Drive environment.","archived":false,"fork":false,"pushed_at":"2023-04-03T14:19:12.000Z","size":64,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-30T00:05:05.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PureStorage-OpenConnect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-01T14:44:46.000Z","updated_at":"2021-11-13T18:05:11.000Z","dependencies_parsed_at":"2022-08-13T23:30:31.658Z","dependency_job_id":null,"html_url":"https://github.com/PureStorage-OpenConnect/TestDriveNewStack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PureStorage-OpenConnect/TestDriveNewStack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureStorage-OpenConnect%2FTestDriveNewStack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureStorage-OpenConnect%2FTestDriveNewStack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureStorage-OpenConnect%2FTestDriveNewStack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureStorage-OpenConnect%2FTestDriveNewStack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PureStorage-OpenConnect","download_url":"https://codeload.github.com/PureStorage-OpenConnect/TestDriveNewStack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PureStorage-OpenConnect%2FTestDriveNewStack/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262029875,"owners_count":23247550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-30T00:05:06.712Z","updated_at":"2025-06-26T08:31:22.374Z","avatar_url":"https://github.com/PureStorage-OpenConnect.png","language":"Shell","readme":"#### *Note that this project is for educational purposes only, and is meant to demonstrate what you can do with Pure. These playbooks and scripts have been developed only for use only in Pure Test Drive. You're free to adapt them to your environment, but you're responsible for testing and overall functionality. Have fun!*\n\n# TestDriveNewStack\n\nThis project was born out of a desire to offer our SE's, our customers, and potential customers a simple, concise way to see how [Ansible Automation](https://galaxy.ansible.com/purestorage) could, or will, help them in their environment.\n\nMake sure to run `setup.sh` in order to set up your Pure Test Drive environment.\n\n## Build Notes\n* You can now create volumes with user input, feel free to modify for use with both virtual FlashArrays!\n\n\n## Getting started\n\n**NOTE: With the updated TestDrive Interfaces the many items have changed. Please validate you are using the latest repo.**\n\nLaunch an \"Introduction to FlashArray\" lab from Pure TestDrive. \n\n\u003e Note that these scripts will not run in other environments without modification.\n\nLog in to the Linux VM (linux1) as root (password can be found under the TestDrive credentials tab) using the desktop icon or putty.\n\nInstall git with:\n\n```bash\nyum install git -y\n```\n\nclone the repo with:\n\n```bash\ngit clone https://github.com/PureStorage-OpenConnect/TestDriveNewStack\n```\n\nRun the setup.sh script by typing the following:\n\n```bash\ncd TestDriveNewStack\n./setup.sh\n```\n\n## Try out Ansible\n\nOnce setup is finished, you can then run `ansible-playbook --ask-vault-pass \u003cfilename\u003e`. Requires vault password of **pure**.\n\nRunning them in order (0-6) is recommended.\n\nThe playbooks are straightforward and actually demonstrate many of the things that Ansible is great at doing.\n\n* 0_getInfo.yaml - Shows a simple method of gathering data\n* 1_modHost.yaml - Fixes some inconsistent capitalization between the host and the array.\n* 2_createVol.yaml - You can see how Anible will create, map, format, mount, and edit /etc/fstab, all in one easy command.\n* 3_createActiveCluster.yaml - Shamelessly stolen from @sdodsley, this will create a synchronous relationship between 2 Flasharrays and protect our volume\n* 4_createSnaps.yaml - Creates a snapshot of our new volume, copies it to a new volume, and then mounts it on our test linux server\n* 5_devSnaps.yaml - Hand this off to your development team and they will be able to refresh data on their own! No need to involve a storage admin.\n* 6_createYourVol.yaml - This will allow you to specify your own volume name, size, and mount point. *Note that this will overwrite existing mounts, so only for demo purposes.*\n\nAs you can see, they are simple, self describing, and above all, *functional*. We would love to provide you with a Pure Test Drive voucher so you can try these out on your own!\n\nClick here for more about [Pure Test Drive](https://www.purestorage.com/products/flasharray-x/test-drive.html)\n\n\nFor any questions, reach out to bkuebler\\@gmail.com or chris\\@ccrow.org\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurestorage-openconnect%2Ftestdrivenewstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpurestorage-openconnect%2Ftestdrivenewstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpurestorage-openconnect%2Ftestdrivenewstack/lists"}