]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
failure_log: Use a default YAML representer 668/head
authorZack Cerza <zack@redhat.com>
Wed, 9 Feb 2022 00:34:25 +0000 (17:34 -0700)
committerZack Cerza <zack@redhat.com>
Wed, 9 Feb 2022 22:49:56 +0000 (15:49 -0700)
commitb22c0ecc1731d758e55cb514a8bba59283640805
treebede2206356d08a914c3b1248e08285c489ced33
parente092888cd6dda38db63d86ad5443e6d5e1a0b27a
failure_log: Use a default YAML representer

Before, we looked recursively for a certain Ansible type in the values
of the dict; this broke when another type was added in Ansible, but was
made worse by the type being used in _keys_, not just values.

This is a better method.

Signed-off-by: Zack Cerza <zack@redhat.com>
callback_plugins/failure_log.py