Add Ansible playbooks directory and first playbook

With the decision to also support Ansible as a method for
resources population, I'm adding the first playbook that
will be used by floatingIP test class.

Change-Id: I8d48160268b4b35c83ae36e8e519e0f16bfc5529
This commit is contained in:
abregman 2018-11-29 17:10:33 +02:00
parent 29670f00cf
commit 999a040e34
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
- name: Test FloatingIP
hosts: localhost
tasks:
- name: Launch an instance
os_server:
state: present
auth:
auth_url: "{{ auth_url }}"
username: "{{ username }}"
password: "{{ password }}"
project_name: "{{ project_name }}"
name: server1
image: "{{ image }}"
key_name: "{{ key }}"
timeout: 200
flavor: "{{ flavor }}"
security_groups: default
auto_ip: yes