-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[networking_mapper] Switch to best effort strategy
With the introduction of IPv6 the mapper now needs to perform partial maps with hosts in the inventory that are not yet reachable, so it needs to be able to perform the mapping without a full set of ansible facts. The strategy that the PR follows is the next one: - Despite the type of mapping, full or partial, do a best effort approach without failing if a fact is missing. - In partial maps, allow the mapper to take the interfaces-info - Avoid refreshing networking facts for those hosts that has not ansible_host fact present, assuming those are not reachable.
- Loading branch information
1 parent
8958f87
commit f6664d1
Showing
2 changed files
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters