Project

General

Profile

Bug #31168

Show host name in ENC output

Added by Nagoor Shaik 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:

Description

Having the name of the Host displayed in the ENC output can be re-used as Ansible roles example: Red Hat Insights Ansible role has an option "display_name" which we can default to hostname of the host registered which can be either an FQDN (which is by default) or in case a user has set Append domain names to host being set to No then it sets shortname for hosts.

Then Insights remediation scripts would fail to lookup the host from Foreman, which is actual reason for issue reported in https://bugzilla.redhat.com/show_bug.cgi?id=1644832

Associated revisions

Revision 3e6070e3 (diff)
Added by Nagoor Shaik 3 months ago

Fixes #31168 - Add host name to ENC output (#8103)

Revision 68bfe83d (diff)
Added by Nagoor Shaik 2 months ago

Fixes #31168 - rename ENC var name to hostname

History

#1 Updated by The Foreman Bot 3 months ago

  • Assignee set to Nagoor Shaik
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8103 added

#2 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 2.4.0 added

#3 Updated by Nagoor Shaik 3 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman/pull/8134 added

Also available in: Atom PDF