OpenStack is an open-source software platform for cloud computing. Linux instances can be launched/stopped manualy using the graphical web interface or automated thanks to ansible's openstack cloud module.
Configuring ansible can be tricky, but once well configured using it is really easy and powerfull for testing and Continuous Integration environment.
parameters | Comments |
---|---|
hosts: localhost | OpenStack commands are launched from our localhost |
gather_facts: False | We dont need to gather information on our localhost |
auth_url: https://openstack-identity.mycompany.com/v2.0 | use V2.0 URL |
state: present | 'present' / 'absent' to create/delete the instance |
validate_certs: False | usefull if https uses self signed certificates |
network: "{{ NetworkName }}" | (optional) |
auto_ip: yes | (optional) |