Use ansible debug callback plugin

The normal callback plugin is unreadable for stdout and stderr things.
Update to use the debug plugin which prints their output nicely in
the way we'd like.

Change-Id: I3a6b31af7d6132a1ee31a280f7f21f3132856273
This commit is contained in:
Monty Taylor 2020-03-31 15:54:58 -05:00
parent 6c5505a60d
commit 5d238b1b57
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,9 @@
# install_ansible_version: '{{ bridge_ansible_version | default(None) }}'
- role: install-ansible
install_ansible_name: '{{ bridge_ansible_name | default("ansible") }}'
# NOTE(mordred): Do not upgrade this to 2.10 without figuring out an install for the
# debug callback plugin which moved out of tree in 2.10. It might be in Ansible Community
# Distro - but needs to be verified before we do it.
install_ansible_version: '{{ bridge_ansible_version | default("2.9.1") }}'
install_ansible_openstacksdk_name: '{{ bridge_openstacksdk_name | default("openstacksdk") }}'
install_ansible_openstacksdk_version: '{{ bridge_openstacksdk_verison | default("latest") }}'

View File

@ -17,6 +17,7 @@ callback_plugins=/etc/ansible/callback_plugins:{{ install_ansible_ara_callback_p
{% else %}
callback_plugins=/etc/ansible/callback_plugins
{% endif %}
stdout_callback=debug
[inventory]
enable_plugins=yaml,yamlgroup,advanced_host_list,ini