devops-coop / ansible-minecraft

Ansible role for provisioning a vanilla Minecraft server
https://galaxy.ansible.com/devops-coop/minecraft/
Apache License 2.0
57 stars 38 forks source link

Fedora 27+ support and automated tests #22

Open danizen opened 6 years ago

danizen commented 6 years ago

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.

danizen commented 6 years ago

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.

benwebber commented 6 years ago

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.