Fix permissions for jsonfile cache plugin

By default jsonfile uses mkstemp to create temporary file and it gets
0700 permissions. Explicitly run chmod to fix permissions.
This commit is contained in:
Timo Makinen 2023-02-05 17:15:31 +00:00
parent 2036276402
commit f1dce581c3
3 changed files with 65 additions and 1 deletions

View file

@ -2,8 +2,10 @@
inventory = hosts.yml
roles_path = ./roles:./software
cache_plugins = ./plugins/cache
gathering = smart
fact_caching = jsonfile
fact_caching = jsonfile_fix
fact_caching_connection = facts
fact_caching_timeout = 86400