G'day,

With Ansible 2.5.9 is redis caching compatible with stdout_callback please?

We find that redis caching really helps the performance, however it seems 
to be incompatible with "stdout_callback = json".  When redis is enabled 
the json output is blank.

This results in blank output
#-------------------
[defaults]
...
callback_whitelist = actionable cgroup_memory_recap context_demo 
counter_enabled debug default dense foreman full_skip grafana_annotations 
hipchat jabber json junit log_plays logdna logentries logstash mail minimal 
null oneline osx_say profile_roles profile_tasks selective skippy slack 
splunk stderr sumologic syslog_json timer tree unixy yaml
stdout_callback = json
#Use the stdout_callback when running ad-hoc commands
bin_ansible_callbacks = True
fact_caching = redis
#30 minutes
fact_caching_timeout = 1800
fact_caching_connection = localhost:6379:0
[inventory]
cache = True
cache_plugin = redis
#-------------------

While this produces output:
#-------------------
[defaults]
...
callback_whitelist = actionable cgroup_memory_recap context_demo 
counter_enabled debug default dense foreman full_skip grafana_annotations 
hipchat jabber json junit log_plays logdna logentries logstash mail minimal 
null oneline osx_say profile_roles profile_tasks selective skippy slack 
splunk stderr sumologic syslog_json timer tree unixy yaml
stdout_callback = json
#Use the stdout_callback when running ad-hoc commands
bin_ansible_callbacks = True
#fact_caching = redis
#30 minutes
#fact_caching_timeout = 1800
#fact_caching_connection = localhost:6379:0
#[inventory]
#cache = True
#cache_plugin = redis
#-------------------

Kind regards,
Dave

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5b9d5cb0-3a15-40a3-9186-e079f3ecb0cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to