You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
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....
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 text was updated successfully, but these errors were encountered: