Hi, I'm trying to debug Ansible modules. I usually do this, for example. (args.json is parameters file)
python ./ansible/lib/ansible/modules/source_control/subversion.py ./args. json I tried to debug for "yum" module. But, this error occurred. What is error for? python ./ansible/lib/ansible/modules/packaging/os/yum.py ./args.json Traceback (most recent call last): File "./ansible/lib/ansible/modules/packaging/os/yum.py", line 1667, in <module> main() File "./ansible/lib/ansible/modules/packaging/os/yum.py", line 1663, in main module_implementation.run() File "./ansible/lib/ansible/modules/packaging/os/yum.py", line 1601, in run my = self.yum_base() File "./ansible/lib/ansible/modules/packaging/os/yum.py", line 458, in yum_base my = yum.YumBase() AttributeError: 'module' object has no attribute 'YumBase' Ansible version is # ansible --version ansible 2.10.0.dev0 config file = None configured module search path = [u'/root/.ansible/plugins/modules', u '/usr/share/ansible/plugins/modules'] ansible python module location = /root/ansible/lib/ansible executable location = /root/ansible/bin/ansible python version = 2.7.5 (default, Aug 7 2019, 00:51:29) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/3770b4ce-e27d-4454-a099-79d1b730da93%40googlegroups.com.