zuul-jobs/roles/configure-mirrors/tasks/mirror
Clark Boylan b62c488eab Fix ansible use of filters and tests
Ansible 2.9 requires the use of "version" as a filter and
"version_compare" has been removed. Also tests cannot be used as
filters which means we cannot do when: foo | test and must do
when: foo is test instead. Make these fixes.

Both changes should be backward compatible to ansible 2.5:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_tests.html#version-comparison
https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.5.html#jinja-tests-used-as-filters

Change-Id: Id95f674a485877db2a7924994366d1c6c591a684
2019-12-17 10:49:57 -08:00
..
CentOS-7.yaml configure-mirrors: Consolidate dnf/yum handler 2019-10-15 18:21:44 +01:00
CentOS-8.yaml configure-mirrors: Consolidate dnf/yum handler 2019-10-15 18:21:44 +01:00
Debian.yaml configure-mirrors: make separate template directories for each platform 2019-10-15 17:04:57 +11:00
default.yaml Streamline configure-mirrors and Ubuntu repository setup 2017-09-07 15:37:31 -04:00
Fedora.yaml configure-mirrors: Consolidate dnf/yum handler 2019-10-15 18:21:44 +01:00
Gentoo.yaml notify needs a command 2018-09-20 22:02:55 -05:00
Suse.yaml Fix ansible use of filters and tests 2019-12-17 10:49:57 -08:00
Ubuntu.yaml configure-mirrors: make separate template directories for each platform 2019-10-15 17:04:57 +11:00