Graylog2 / graylog-ansible-role

Ansible role which installs and configures Graylog
Apache License 2.0
212 stars 127 forks source link

Fix deprecation errors with Ansible 2.9 #123

Closed gvalkov closed 4 years ago

gvalkov commented 4 years ago

This change fixes the following error:

template error while templating string: no filter named 'version_compare'. String: {{
  (ansible_distribution == 'Debian' and ansible_distribution_version | version_compare('8', '>=')) or
  (ansible_distribution in ['RedHat','CentOS'] and ansible_distribution_version | version_compare('7', '>=')) or
  (ansible_distribution == 'Ubuntu' and ansible_distribution_version | version_compare('15', '>='))
}}
CLAassistant commented 4 years ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Georgi Valkov seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

smutel commented 4 years ago

This commit has already been merged in another PR.
Is-it possible to close this PR and to create a new tag 3.0.2 ?

malcyon commented 4 years ago

Yeah, this has already been updated. I created tag 3.1.0. I'll update Ansible Galaxy as soon as I get access to it.