ansible-minecraft
ansible-minecraft copied to clipboard
on centos7
TASK [devops-coop.minecraft : check supported version] ************************* fatal: [192.168.122.101]: FAILED! => {"msg": "The conditional check 'ansible_distribution == 'Ubuntu' and ansible_distribution_version | version_compare('16.04', '<')' failed. The error was: template error while templating string: no filter named 'version_compare'. String: {% if ansible_distribution == 'Ubuntu' and ansible_distribution_version | version_compare('16.04', '<') %} True {% else %} False {% endif %}\n\nThe error appears to be in '/root/.ansible/roles/devops-coop.minecraft/tasks/systemd/Ubuntu.yml': line 1, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: check supported version\n ^ here\n"}
The same problem on ubuntu 22.04
the same on ubuntu 16.04
rather than just listing OS versions with no detail, in order for others to even attempt to help here, it would be good if you can provide more info:
namely:
the version of ansible you are trying to use the playbook you are using to call this role running the playbook with -vv, to present additional logging information.
However, the fact that this repo, appears to have not been worked on for 4-5 years, indicates that perhaps things have moved on, and the later flavours of ansible don't support it, in it's current form....
I am just another user of this repo (btw, it works fine on my CentOS 7 servers.....) but if there's actually something of diagnostic use posted in this ticket regarding the issue, it would perhaps assist with any troubleshooting....