ansible-minecraft
ansible-minecraft copied to clipboard
Fedora 27+ support and automated tests
I think this may be an issue with ansible itself, and I will install a more recent version of ansible via pip.
TASK [devops-coop.minecraft : install Minecraft dependencies] ****************************************
failed: [localhost] (item=[u'java-1.8.0-openjdk', u'sudo']) => {"changed": false, "item": ["java-1.8.0-openjdk", "sudo"], "msg": "python2 yum module is needed for this module"}
to retry, use: --limit @/home/dan/familymc/playbook.retry
The claim is that it needs the python2 yum module - there is no such module, and ansible is installed.
Installing my own copy of ansible under python3 did not solve the problem. It turns out it would have been much, much less work to use a CentOS 7 VPS, and this is a low priority problem.
I assume the Fedora host you are trying to manage uses DNF, is that correct?
If so, it seems that Fedora doesn't install the Python yum package anymore. We can probably switch to the package module.