You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An ansible module for cloudbridge would be of great use to anyone who needs to provision VMs and other cloud resources using simple yaml templates. The template will express the desired state of the resource.
A cloudbridge ansible module for creating a VM could look like the following:
- name: create a new key_paircloudbridge_key_pair:
state: presentprovider:
type: gcpname: my_new_key_pair
Or a disk:
- name: create a new volumecloudbridge_volume:
state: presentprovider:
type: azurelabel: my_volumesize: 10description: my postgres volume
Each module would need to inspect the current state of the object, and drive it towards the desired state. For example, if the vm instance does not exist, it would create it. However, if the vm instance exists but only the label has changed, it would rename it.
It would be best to take a phased approach and implement services incrementally so that multiple people can work on it. The ansible modules could be split as follows:
Add keypair module
Add vm_firewall module
Add vm_firewall_rule module
Add networks module
Add subnet module
Add internet_gateway module
Add floating_ip module
Add router module
Add volume module
Add snapshot module
Add bucket module
Add bucket_object module
Add image module
Add vm_type module
Add instance module
Add dns host_zones module
Add dns record module
The text was updated successfully, but these errors were encountered:
An ansible module for cloudbridge would be of great use to anyone who needs to provision VMs and other cloud resources using simple yaml templates. The template will express the desired state of the resource.
A cloudbridge ansible module for creating a VM could look like the following:
Similarly, for creating a keypair:
Or a disk:
Each module would need to inspect the current state of the object, and drive it towards the desired state. For example, if the vm instance does not exist, it would create it. However, if the vm instance exists but only the label has changed, it would rename it.
It would be best to take a phased approach and implement services incrementally so that multiple people can work on it. The ansible modules could be split as follows:
The text was updated successfully, but these errors were encountered: