Merge "Remove ignore error and unnecessary when"

This commit is contained in:
Zuul 2017-10-30 19:28:58 +00:00 committed by Gerrit Code Review
commit 77ff369cb3
2 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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: