sensu / sensu-ansible

An Ansible role to deploy a fully dynamic Sensu stack!
https://ansible-sensu.readthedocs.io
MIT License
126 stars 96 forks source link

@ rb_sysopen - /tmp/sensu_server_loaded_files (Errno::EACCES) #89

Closed ssirobertreilly closed 7 years ago

ssirobertreilly commented 7 years ago

/etc/sensu/conf.d is owned by root but I get this message: @ rb_sysopen - /tmp/sensu_server_loaded_files (Errno::EACCES) if i chage sensu to be the owner the permission error goes away

but if i run ansible again it sets it back to root

TASK [sensu-ansible : Ensure the Sensu config directory is present] ************
--- before
+++ after
@@ -1,4 +1,4 @@cd 
 {
-    "owner": 991,
+    "owner": 0,
     "path": "/etc/sensu/conf.d"
 }