Remove ignore error and unnecessary when
ignore error was triggered at flavor creation when octavia_all have mutliple hosts, solved with run only on first node. Change-Id: I92fc665ad6bd2bc4359b81bbccf1cba08e2d7703 (cherry picked from commit a731313a2910710d8935aa41f3ab2dfc9a1a50ec)
This commit is contained in:
parent
d297d43fe8
commit
5fd1fbae70
@ -68,6 +68,7 @@
|
||||
|
||||
- include: octavia_flavor_create.yml
|
||||
when:
|
||||
- inventory_hostname == groups['octavia_all'][0]
|
||||
- octavia_nova_flavor_uuid is not defined
|
||||
tags:
|
||||
- octavia-install
|
||||
|
@ -29,10 +29,6 @@
|
||||
vcpus: "{{ octavia_amp_vcpu }}"
|
||||
disk: "{{ octavia_amp_disk }}"
|
||||
is_public: False
|
||||
ignore_errors: yes # that module is buggy?
|
||||
when:
|
||||
- octavia_nova_flavor_uuid is not defined
|
||||
|
||||
|
||||
- name: Gather Octavia Flavor Id
|
||||
os_flavor_facts:
|
||||
@ -45,9 +41,6 @@
|
||||
project_domain_name: "{{ octavia_service_project_domain_id }}"
|
||||
endpoint_type: "{{ octavia_ansible_endpoint_type }}"
|
||||
name: "{{ octavia_amp_flavor_name}}"
|
||||
ignore_errors: yes
|
||||
when:
|
||||
- octavia_nova_flavor_uuid is not defined
|
||||
|
||||
- name: Set Octavia Flavor UUID fact 1
|
||||
set_fact:
|
||||
|
Loading…
x
Reference in New Issue
Block a user