MODULE FAILURE - TypeError: Value of unknown type: <class 'requests.models.Response'>, <Response [204]>

Hello,

I am seeing module failure while using hashivault_write module.

Ansible - Python - OpenSSH version on Ansible Node ;

root@35f3dfdc476f:playbooks # ansible --version ansible 2.9.2 config file = /root/galorndon-infra/playbooks/ansible.cfg configured module search path = [‘/root/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’] ansible python module location = /py36env/lib64/python3.6/site-packages/ansible executable location = /py36env/bin/ansible python version = 3.6.8 (default, Aug 7 2019, 08:02:28) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39.0.1)] root@35f3dfdc476f:playbooks # root@35f3dfdc476f:playbooks # root@35f3dfdc476f:playbooks # root@6193af66d482:playbooks # rpm -qa |grep -i openssh openssh-7.4p1-21.el7.x86_64 openssh-clients-7.4p1-21.el7.x86_64 root@6193af66d482:playbooks #

Ansible - Python - OpenSSH version on Vault3 VM ;

[root@vault3 ~]# ansible --version ansible 2.8.4 config file = /etc/ansible/ansible.cfg configured module search path = [u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /bin/ansible python version = 2.7.5 (default, Nov 27 2019, 09:57:45) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39.0.1)] [root@vault3 ~]# [root@vault3 ~]# [root@vault3 ~]# rpm -qa |grep -i openssh openssh-7.4p1-21.el7.x86_64 openssh-clients-7.4p1-21.el7.x86_64 openssh-server-7.4p1-21.el7.x86_64 [root@vault3 ~]#

Playbook ;

`

[osvcstage:cpetestphx:security_services]root@6193af66d482:playbooks # cat hashivault_write.yml

Hi

hashivault_write isn’t part of ansible.
Could it be that you are using a third party module?
If so, please contact the authors of that for support.

I upgraded ansible-modules-hashivault to 4.4.7 and it worked.

Reference -https://github.com/TerryHowe/ansible-modules-hashivault/issues/238