ansible-minecraft icon indicating copy to clipboard operation
ansible-minecraft copied to clipboard

on centos7

Open yavasura opened this issue 2 years ago • 3 comments

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"}

yavasura avatar Jul 18 '22 16:07 yavasura

The same problem on ubuntu 22.04

yavasura avatar Jul 19 '22 12:07 yavasura

the same on ubuntu 16.04

yavasura avatar Jul 19 '22 16:07 yavasura

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....

blofeldthefish avatar Jul 19 '22 20:07 blofeldthefish