1
0
mirror of https://github.com/oVirt/ovirt-ansible-infra.git synced 2026-02-05 09:45:01 +01:00

fix host missing networks (#75)

This commit is contained in:
Martin Nečas
2020-07-27 09:56:08 +02:00
committed by GitHub
parent 4d64340354
commit 8ab64af6ee

View File

@@ -55,10 +55,18 @@
label: "{{ item.item.name }}"
tags:
- hosts
ignore_errors: yes
until: job_result.finished
retries: "{{ ovirt_hosts_max_timeout // 20 }}"
delay: 20
- name: Fail the play with unexpected error
fail:
msg: The host deploy failed with message '{{ item["exception"] }}'.
when: item.failed and "the following networks are missing" not in item["exception"]
with_items:
- "{{ job_result.results }}"
- name: Set Power Management
ovirt_host_pm:
auth: "{{ ovirt_auth }}"