Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on centos7 #32

Open
yavasura opened this issue Jul 18, 2022 · 3 comments
Open

on centos7 #32

yavasura opened this issue Jul 18, 2022 · 3 comments

Comments

@yavasura
Copy link

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
Copy link
Author

The same problem on ubuntu 22.04

@yavasura
Copy link
Author

the same on ubuntu 16.04

@blofeldthefish
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants