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:
parent
29670f00cf
commit
999a040e34
18
tobiko/tests/scenario/playbooks/test_floatingip.yml
Normal file
18
tobiko/tests/scenario/playbooks/test_floatingip.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user