]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-rgw: use match instead of equalto from jinja2 v4.0.23
authorDimitri Savineau <dsavinea@redhat.com>
Wed, 6 May 2020 17:32:18 +0000 (13:32 -0400)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Wed, 6 May 2020 19:45:44 +0000 (15:45 -0400)
commit487dcdc3f05a0de6e486e6754ac42576440eec51
tree29de6a7a842aa0cd870febb79e7bc6218793e9e3
parent3e421ad6e6c18c4e80147e800e7f342ea26ea140
ceph-rgw: use match instead of equalto from jinja2

The '==' jinja2 operator (or 'equalto') has been introduced in jinja2
2.8.
On EL7, jinja2 version is 2.7 so the operator isn't present creating
templating error like:

The error was: TemplateRuntimeError: no test named '=='

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1747206
Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit 34e6e8e06c8993c18f0f75df9989f39f67727ef9)
roles/ceph-rgw/tasks/multisite/create_realm_zonegroup_zone_lists.yml