Skip to content

fix(slm): auto-populate ansible_name from heartbeat hostname (#1986)#1997

Merged
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-1986
Mar 22, 2026
Merged

fix(slm): auto-populate ansible_name from heartbeat hostname (#1986)#1997
mrveiss merged 1 commit intoDev_new_guifrom
fix/issue-1986

Conversation

@mrveiss
Copy link
Copy Markdown
Owner

@mrveiss mrveiss commented Mar 22, 2026

Summary

  • Auto-sets ansible_name from agent's OS hostname during heartbeat when currently NULL
  • Eliminates manual backfill — existing nodes get populated as agents check in
  • Only writes once (skips if ansible_name already set)

Closes #1986

When a node's ansible_name is NULL, automatically set it from the
agent's reported OS hostname (platform.node()) during heartbeat.
Eliminates need for manual backfill of existing nodes.
@mrveiss mrveiss merged commit 2ab1081 into Dev_new_gui Mar 22, 2026
2 of 3 checks passed
@mrveiss mrveiss deleted the fix/issue-1986 branch March 22, 2026 19:14
@github-actions
Copy link
Copy Markdown

✅ SSOT Configuration Compliance: Passing

🎉 No hardcoded values detected that have SSOT config equivalents!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant