make flavour idempotent
This commit is contained in:
parent
68fccebf92
commit
b9630d9361
1 changed files with 2 additions and 0 deletions
|
@ -175,6 +175,8 @@
|
|||
|
||||
- name: create non-standard flavor
|
||||
action: shell source /root/keystonerc_admin && nova flavor-list | grep m1.builder || nova flavor-create m1.builder 6 5120 50 3
|
||||
register: command_result
|
||||
changed_when: "'ID' in command_result.stdout"
|
||||
|
||||
##### download common Images #####
|
||||
- get_url: url=http://download.fedoraproject.org/pub/fedora/linux/updates/20/Images/x86_64/Fedora-x86_64-20-20140407-sda.qcow2 dest=/root/images/Fedora-x86_64-20-20140407-sda.qcow2 mode=0440
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue