Project

General

Profile

Actions

Bug #25803

closed

Duplicate hosts from facts when running Ansible on secondary interface

Added by Ondřej Pražák over 6 years ago. Updated almost 6 years ago.

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

Description

A new host is created from facts when Ansible is executed on secondary interface.

Steps to reproduce:
1) Create a host with 2 interfaces - one as primary and provision without rex, the other with rex - see screenshots for details
2) Add Ansible role to host and run Ansible
3) notice second host with fqdn of the secondary interface was created


Files

secondary.png View secondary.png 88.5 KB Ondřej Pražák, 01/08/2019 01:51 PM
primary-provision.png View primary-provision.png 90.6 KB Ondřej Pražák, 01/08/2019 01:51 PM
duplicate-hosts.png View duplicate-hosts.png 37 KB Ondřej Pražák, 01/08/2019 01:51 PM
two-ifaces.png View two-ifaces.png 48.4 KB Ondřej Pražák, 01/08/2019 01:51 PM

Related issues 1 (0 open1 closed)

Related to Ansible - Bug #25765: When remote_execution_connect_by_ip is enabled, job output shows ip instead of hostnameClosedAdam RuzickaActions
Actions

Also available in: Atom PDF