]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
ceph-rgw: use match instead of equalto from jinja2
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 18:23:10 +0000 (14:23 -0400)
commit34e6e8e06c8993c18f0f75df9989f39f67727ef9
tree0d49e0bcc536450dc8750c3005b8b311b1ff8cb0
parent8a890306ad870f0174f76c6445644d7f8db6396e
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>
roles/ceph-rgw/tasks/multisite/create_realm_zonegroup_zone_lists.yml