Skip to content
Snippets Groups Projects

Version Compare

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Marius Bertram

    Beide Vergleiche sind 'True'

    Edited
    snippetfile1.txt 341 B
    • Output:

      [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
      
      PLAY [localhost] ***********************************************************************************************************************************************
      
      TASK [Test] ****************************************************************************************************************************************************
      ok: [localhost] => {
          "msg": "'3.4.5' is version('4', '<')"
      }
      
      TASK [Test2] ***************************************************************************************************************************************************
      ok: [localhost] => {
          "msg": "'3.4.5' is version('3.2.1.1.1', '>')"
      }
      
      PLAY RECAP *****************************************************************************************************************************************************
      localhost                  : ok=2    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment