Manage your CloudStack routers with Ansible.
git clone [email protected]:<your_handle>/ansible-cloudstack-routers.git
cd ansible-cloudstack-routers
pip install ansible
pip install -r requirements.txt
Admin keys:
cat $HOME/.cloudstack.ini
[cloudstack]
endpoint = https://cloud.example.com/client/api
key = cloudstack api key
secret = cloudstack api secret
Limit on backup routers in a HA VR setup in dry-run:
ansible-playbook playbooks/site.yml --limit redundant_backup_routers --check
Limit per CloudStack projects:
ansible-playbook playbooks/site.yml --limit <project>
- Flattr: https://flattr.com/profile/resmo
- BTC: https://www.coinbase.com/resmo
- Paybal: [email protected]
The origin of the dynamic inventory for routers has its home at https://github.com/resmo/ansible-cloudstack. Please track this repo for updates