mongodb: replace version_compare() with version()
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Jérémy Lecour 2022-07-18 15:54:42 +02:00 committed by Jérémy Lecour
parent 213c6dd6ac
commit 0b41efd188
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Changed ### Changed
* mongodb: replace version_compare() with version()
### Fixed ### Fixed
### Removed ### Removed

View File

@ -4,7 +4,7 @@
msg: Not compatible with Debian 11 (Bullseye) msg: Not compatible with Debian 11 (Bullseye)
when: when:
- ansible_distribution_release == "bullseye" - ansible_distribution_release == "bullseye"
- mongodb_version is version_compare('5.0', '<=') - mongodb_version is version('5.0', '<=')
- name: MongoDB embedded GPG key is absent - name: MongoDB embedded GPG key is absent