fix wrong argument passed to get_ansible_fields
diff --git a/xos/observers/base/SyncInstanceUsingAnsible.py b/xos/observers/base/SyncInstanceUsingAnsible.py
index b00648d..77879d2 100644
--- a/xos/observers/base/SyncInstanceUsingAnsible.py
+++ b/xos/observers/base/SyncInstanceUsingAnsible.py
@@ -161,7 +161,7 @@
self.defer_sync(o, "waiting on instance.instance_name")
return
- fields = self.get_ansible_fields(o)
+ fields = self.get_ansible_fields(instance)
fields["ansible_tag"] = o.__class__.__name__ + "_" + str(o.id)