Project

General

Profile

Actions

Bug #36206

closed

One or more unreachable hosts result in "failed" job for every host

Added by Dirk Götz over 1 year ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

From user reporting a strange behavior of Ansible sometimes return an return code of 4 and showing a failed job, further investigation shows this happens when in a run at least one host is unreachable. https://community.theforeman.org/t/dealing-with-ansible-exit-code-4/32818

So this needs some special handling like convert the 4 to 0 if it is not the current host that is unreachable or treating 4 as Success in this case.


Related issues 1 (0 open1 closed)

Is duplicate of Ansible - Bug #36130: job invocation shows wrong info after remote execution job (regression from 6.11)ClosedNofar AlfassiActions
Actions

Also available in: Atom PDF