
Lately we added a flavor autodiscover feature and due to that we edited generate-tempestconf-file role. The patch removes unused registered variable and edits readme. Change-Id: Ibf55d35ab00aafd0b7efe83805f1a96f11fe2f0a
20 lines
581 B
YAML
20 lines
581 B
YAML
- name: Generate tempest.conf as demo user (tool will autodiscover flavors)
|
|
shell: |
|
|
./generate-tempestconf.sh
|
|
args:
|
|
chdir: "{{ tempestconf_src_relative_path }}"
|
|
executable: /bin/bash
|
|
|
|
- name: Create m1.nano and m1.micro flavors for demo user
|
|
shell: |
|
|
set -x
|
|
openstack flavor create --os-cloud {{ cloud_admin }} \
|
|
--public \
|
|
--ram {{ item.ram }} \
|
|
--vcpus 1 \
|
|
--disk 0 \
|
|
{{ item.name }}
|
|
with_items:
|
|
- { name: "m1.nano", ram: 64 }
|
|
- { name: "m1.micro", ram: 128 }
|