Ansible module for Waldur
Waldur-based solutions can be managed with Ansible modules to allow provisioning and management of infrastructure under Waldur through Ansible playbooks.
- OpenStack management.
- SLURM HPC management
- Common client for Waldur APIs in Python.
See also: http://docs.ansible.com/ansible/modules.html
Configure an Ansible playbook with parameters
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Pass parameters to an Ansible playbook
1 2 3 4
Running playbook using virtual Python environment
If you've installed Ansible Waldur module to virtual Python environment you need to specify path to Python interpreter and path to module library along with path to playbook:
1 2 3 4
See general guidelines: https://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html
When new module is implemented, don't forget to update
When new module is implemented, it should be covered with tests. Run tests using
- Module name should consist of three parts separated by underscore:
waldur, plugin name, entity name. For example,
waldur_os_snapshotrefers to OpenStack (OS) as plugin name and snapshot as entity name.