On Thu, 27 Jan 2022 15:08:52 -0800 (PST)
o haya <[email protected]> wrote:

>     "msg": "The play_mysql_version is 8.0.28-1.el7",
> ...  checks that the "numeric part" of the version string that is in 
> play_mysql_version, i.e. "8.0.28", is greater than, or equal to, "8.0.28".

See "Comparing versions"
https://docs.ansible.com/ansible/latest/user_guide/playbooks_tests.html#comparing-versions

Test it first, e.g.

    - debug:
        msg: Install additional dependency
      when: play_mysql_version is version ('8.0.28','>=')

-- 
Vladimir Botka

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20220129015257.5599506b%40gmail.com.

Attachment: pgpWlVFX2XfDx.pgp
Description: OpenPGP digital signature

Reply via email to