Merge "tripleo_bootstrap: do not fail if OVS rpm wasn't found" into stable/train

This commit is contained in:
Zuul 2020-04-15 01:34:44 +00:00 committed by Gerrit Code Review
commit afd0e4ece7
1 changed files with 9 additions and 0 deletions

View File

@ -37,6 +37,15 @@
package:
name: "{{ tripleo_bootstrap_packages_bootstrap }}"
state: present
# When a node is deployed with overcloud-minimal, OVS isn't required so let's
# ignore the case where the package can't be found (e.g. missing subscription).
# https://bugzilla.redhat.com/show_bug.cgi?id=1820306
failed_when:
- (ansible_distribution | lower) == 'redhat'
- not ansible_check_mode|bool
- (tripleo_bootstrap_packages_bootstrap_result.rc | int) == 1
- not ('No package openvswitch available.' in tripleo_bootstrap_packages_bootstrap_result.failures | default([]))
register: tripleo_bootstrap_packages_bootstrap_result
- name: Create /var/lib/heat-config/tripleo-config-download directory for deployment data
become: true