diff --git a/ansible/roles/common/tasks/config.yml b/ansible/roles/common/tasks/config.yml
index f07d9a610c..3c6568efc7 100644
--- a/ansible/roles/common/tasks/config.yml
+++ b/ansible/roles/common/tasks/config.yml
@@ -56,7 +56,7 @@
     - { name: "swift-rsyncd", src: "swift", enabled: "{{ enable_swift }}" }
 
 - name: Heka custom config file exists
-  stat: "path={{ node_custom_config }}/heka/heka-custom.toml"
+  local_action: stat path="{{ node_custom_config }}/heka/heka-custom.toml"
   register: heka_custom_stat_result
 
 - name: Copying over heka custom config file