--- - name: Set repo versions set_fact: zcs_repo_versions: - 87 - 90 when: - zcs_major is version('9.0.0', '>=') - zcs_major is version('10.0.0', '<') tags: zcs,repo - name: Set repo versions set_fact: zcs_repo_versions: - 87 - 1000 when: - zcs_major is version('10.0.0', '>=') - zcs_major is version('10.1.0', '<') tags: zcs,repo - name: Set repo versions set_fact: zcs_repo_versions: - 87 - 1000 - 1010 when: - zcs_major is version('10.1.0', '>=') tags: zcs,repo