mds: add filter | int on condition

This seems to break the update scenario CI testing in stable-3.2.

Typical error:
```
The conditional check 'mds_max_mds > 1' failed. The error was: Unexpected templating type error occurred on ({% if mds_max_mds > 1 %} True {% else %} False {% endif %}): '>' not supported between instances of 'str' and 'int'
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
stable-3.1
Guillaume Abrioux 2021-04-08 13:27:31 +02:00
parent 143cdd731a
commit f53eca3126
1 changed files with 1 additions and 1 deletions

View File

@ -44,4 +44,4 @@
delegate_to: "{{ groups[mon_group_name][0] }}" delegate_to: "{{ groups[mon_group_name][0] }}"
when: when:
- ceph_release_num[ceph_release] >= ceph_release_num.jewel - ceph_release_num[ceph_release] >= ceph_release_num.jewel
- mds_max_mds > 1 - mds_max_mds | int > 1