Fix fact hashing kwarg/arg normalisation
@@ -325,7 +325,7 @@ def _get_fact_hash(state: "State", host: "Host", cls, args, kwargs):
assert not isinstance(cls.command, str)
args = args or []
kwargs = kwargs or {}
- kwargs = getcallargs(cls.command, cls, *args, **kwargs)
+ kwargs = getcallargs(cls().command, *args, **kwargs)
return make_hash((cls, kwargs, _get_executor_kwargs(state, host)))
