Production-ready Ansible modules for VAST Data Management System (VMS). Automate VAST storage infrastructure with idempotent, declarative modules for views, policies, authentication, and networking.
Install the latest version directly from Ansible Galaxy:
ansible-galaxy collection install vastdata.vmsTo install a specific version:
ansible-galaxy collection install vastdata.vms:==1.0.0To upgrade to the latest version:
ansible-galaxy collection install vastdata.vms --upgradeCreate a requirements.yml file:
collections:
- name: vastdata.vms
version: ">=1.0.0"Install the collection:
ansible-galaxy collection install -r requirements.ymlDownload and install from a specific GitHub release:
# Replace 1.0.0 with the desired version
ansible-galaxy collection install https://github.com/vast-data/vast-ansible/releases/download/v1.0.0/vastdata-vms-1.0.0.tar.gzFor development or testing from source:
git clone https://github.com/vast-data/vast-ansible.git
cd vast-ansible
ansible-galaxy collection build
ansible-galaxy collection install vastdata-vms-*.tar.gz- Python: >= 3.9
- Ansible: ansible-core >= 2.14
- vastpy: Python SDK for VAST (install via
pip install vastpy)
The collection will provide a clear error message if vastpy is not installed.
The collection supports two authentication methods:
- hosts: localhost
tasks:
- name: Create a view
vastdata.vms.views:
host: vast-vms.example.com
token: "{{ vast_token }}"
path: /prod/data
state: present- hosts: localhost
tasks:
- name: Create a view
vastdata.vms.views:
host: vast-vms.example.com
username: admin
password: "{{ vast_password }}"
path: /prod/data
state: presentThis collection provides 10 core modules for VAST storage management:
| Module | Description |
|---|---|
vastdata.vms.views |
Manage VAST views (file system exports) |
vastdata.vms.viewpolicies |
Manage view policies and configurations |
vastdata.vms.vippools |
Manage VIP pools for network configuration |
vastdata.vms.quotas |
Manage storage quotas |
vastdata.vms.s3policies |
Manage S3 bucket policies |
vastdata.vms.tenants |
Manage multi-tenancy configurations |
vastdata.vms.groups |
Manage user groups |
vastdata.vms.users |
Manage user accounts |
vastdata.vms.ldaps |
Configure LDAP authentication |
vastdata.vms.dns |
Manage DNS settings |
View detailed module documentation:
ansible-doc vastdata.vms.views
ansible-doc vastdata.vms.quotas
ansible-doc vastdata.vms.ldapsAll modules support:
- ✅ Idempotency - Safe to run multiple times
- ✅ Check Mode - Preview changes with
--check - ✅ Diff Mode - See exact changes with
--diff - ✅ Error Handling - Clear, actionable error messages
- ✅ Ansible Vault - Secure credential management
The collection includes comprehensive test suites:
# Sanity tests (code quality, documentation)
./test.sh sanity
# Unit tests (module structure validation)
./test.sh unit
# Build collection
./test.sh buildpip install ansible-core- VAST Software: 5.4.0 and later
- Python: 3.9+
- Ansible: ansible-core 2.14+
See CHANGELOG.md for release history and version details.
Apache License 2.0. See LICENSE for full details.
VAST Data is the data platform company for the AI era. Learn more at vastdata.com.
Note: This collection is independently developed and maintained. For VAST product documentation, visit VAST Documentation.