ansible Using Ansible with OpenStack

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

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

parametersComments
hosts: localhostOpenStack commands are launched from our localhost
gather_facts: FalseWe dont need to gather information on our localhost
auth_url: https://openstack-identity.mycompany.com/v2.0use 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)

Remarks



Got any ansible Question?