Change-Id: I36a01632299fe2fa38a6e328ae5cad9eeb3b06ae
This commit is contained in:
pkomarov 2019-06-24 09:44:32 +03:00
parent 1c56bb1832
commit 52e9f80a19
3 changed files with 5 additions and 5 deletions

View File

@ -12,8 +12,8 @@
- name: Set up Overcloud resources create cirros img
shell: |
source "{{ test.overcloudrc }}"
openstack image list --status active --limit 1 -f value -c Name| \
grep -q -w cirros || \
openstack image list --name cirros --status active --limit 1 \
-f value -c Name| grep -q -w cirros || \
openstack image create cirros \
--file cirros-0.4.0-x86_64-disk.img \
--disk-format qcow2 \

View File

@ -7,4 +7,4 @@ image = cirros
flavor = m1.tiny
key_file = ~/.ssh/id_rsa
[neutron]
floating_network = "{{ test.external_net }}"
floating_network = "{{ test.floating_network }}"

View File

@ -31,11 +31,11 @@ subparsers:
default: "{{ ansible_env.HOME }}/tobiko_venv"
help: |
path of existing virtual environment
external_net:
floating_network:
type: Value
default: "public"
help: |
Name of overcloud's external-net
Name of overcloud's floating_network
tests:
type: Value
help: |