Guillaume Coré
2018-05-18 aec8f693158175df7767566f1e387bd7d2250329
keep backward compatibility with ansible 2.4

'version' is from ansible 2.5 only.
2 files modified
4 ■■■■ changed files
ansible/configs/ocp-workshop/files/cloud_providers/azure_cloud_template.j2 2 ●●● patch | view | raw | blame | history
ansible/roles/openshift-ansible-broker/templates/broker-config.yml.j2 2 ●●● patch | view | raw | blame | history
ansible/configs/ocp-workshop/files/cloud_providers/azure_cloud_template.j2
@@ -101,7 +101,7 @@
            "publisher" : "Redhat",
            "offer" : "RHEL",
            "sku" : "7-RAW",
{% if osrelease is version('3.9', '>=') %}
{% if osrelease is version_compare('3.9', '>=') %}
            "version" : "7.5.2018050901"
{% else %}
            "version" : "7.4.2018010506"
ansible/roles/openshift-ansible-broker/templates/broker-config.yml.j2
@@ -14,7 +14,7 @@
    namespaces: ['openshift']
    white_list: ['.*-apb$']
{% if osrelease is version('3.9', '>=') %}
{% if osrelease is version_compare('3.9', '>=') %}
  - name: openshiftapb
    type: dockerhub
    org: openshiftapb