Mailing List Archive

help with ansible
I've built (on opensuse tumbleweed) before without issues
A recent build on a new system gave me this

TASK [mythtv-suse : enable devel:languages:perl repository] **************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named xml.dom.minidom
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File

Does this make sense to any ansible warriors
Thanks
James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: help with ansible [ In reply to ]
On 4/25/20 1:40 AM, jam@tigger.ws wrote:
> I've built (on opensuse tumbleweed) before without issues
> A recent build on a new system gave me this
>
> TASK [mythtv-suse : enable devel:languages:perl repository] **************************************************
> An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named xml.dom.minidom
> fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File
>
> Does this make sense to any ansible warriors

Not a warrior in any sense, but here's the full task:

- name: enable devel:languages:perl repository
zypper_repository: name=devel_languages_perl repo={{ perl_repo }} state=present auto_import_keys=yes

This (and others) suggest python-xml is required (or perhaps a Python v3 version):

https://github.com/slaingnials/ansible-modules-extras/commit/991b4568db529ba4c41f7db234510dbbf3911a8e

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org