@@ -1,7 +1,7 @@
menu "Ansible Callback Plugin Configuration"
choice
prompt "Ansible Callback Plugin"
- default KDEVOPS_ANSIBLE_CONFIG_CALLBACK_PLUGIN_DEBUG
+ default KDEVOPS_ANSIBLE_CONFIG_CALLBACK_PLUGIN_DENSE
config KDEVOPS_ANSIBLE_CONFIG_CALLBACK_PLUGIN_DEBUG
bool "Ansible Debug Callback Plugin"
@@ -66,7 +66,7 @@ config KDEVOPS_ANSIBLE_CONFIG_CALLBACK_PLUGIN_SHOW_CUSTOM_STATS
config KDEVOPS_ANSIBLE_CONFIG_CALLBACK_PLUGIN_SHOW_PER_HOST_START
bool "show_per_host_start"
output yaml
- default n
+ default y
help
This adds output that shows when a task is started to execute for each host
https://docs.ansible.com/ansible/latest/collections/community/general/dense_callback.html#parameter-show_per_host_start
@@ -74,7 +74,7 @@ config KDEVOPS_ANSIBLE_CONFIG_CALLBACK_PLUGIN_SHOW_PER_HOST_START
config KDEVOPS_ANSIBLE_CONFIG_CALLBACK_PLUGIN_SHOW_TASK_PATH_ON_FAILURE
bool "show_task_path_on_failure"
output yaml
- default n
+ default y
help
When a task fails, display the path to the file containing the failed task and
the line number. This information is displayed automatically for every task when
@@ -1,9 +1,9 @@
---
-kdevops_ansible_config_callback_plugin_string: debug
+kdevops_ansible_config_callback_plugin_string: dense
kdevops_ansible_config_callback_plugin_check_mode_markers: False
kdevops_ansible_config_callback_plugin_display_failed_stderr: False
kdevops_ansible_config_callback_plugin_display_ok_hosts: True
kdevops_ansible_config_callback_plugin_display_skipped_hosts: True
kdevops_ansible_config_callback_plugin_show_custom_stats: False
-kdevops_ansible_config_callback_plugin_show_per_host_start: False
-kdevops_ansible_config_callback_plugin_show_task_path_on_failure: False
+kdevops_ansible_config_callback_plugin_show_per_host_start: True
+kdevops_ansible_config_callback_plugin_show_task_path_on_failure: True
Set default Callback plugin to Dense for a minimal stdout. Also, enable show_per_host_start to show when a task is started. And enable show_task_path_on_failure to show failed task when failure. Signed-off-by: Daniel Gomez <da.gomez@samsung.com> --- kconfigs/Kconfig.ansible_cfg | 6 +++--- playbooks/roles/ansible_cfg/defaults/main.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)