Skip to content

stale facts for localhost #2267

@osfrickler

Description

@osfrickler

Sometimes the facts for localhost get stale, leading to warnings like:

dragon@manager:~$ osism apply network -l node1
2026-05-07 07:59:51 | WARNING  | Ansible facts in Redis are stale for 1 host(s) (older than 43200 seconds). Run 'osism sync facts' to update facts.
2026-05-07 07:59:51 | WARNING  |   Host 'localhost': facts are 82075 seconds old

But then the stated workaround osism sync facts doesn't help, since the inventory doesn't contain localhost explicitly, it only get used via some delegations?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions