ansibleUsing Ansible with OpenStack


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.


hosts: localhostOpenStack commands are launched from our localhost
gather_facts: FalseWe dont need to gather information on our localhost
auth_url: V2.0 URL
state: present'present' / 'absent' to create/delete the instance
validate_certs: Falseusefull if https uses self signed certificates
network: "{{ NetworkName }}"(optional)
auto_ip: yes(optional)