validate: only validate cephfs_pools on mon nodes

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/2619/head
Andrew Schoen 2018-04-30 13:42:58 -05:00 committed by Guillaume Abrioux
parent 760a1afc21
commit ffe05872ac
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@
with_items: "{{ cephfs_pools }}" with_items: "{{ cephfs_pools }}"
when: when:
- groups.get(mds_group_name, []) | length > 0 - groups.get(mds_group_name, []) | length > 0
- mon_group_name in group_names
- item.pgs == '' - item.pgs == ''
- name: make sure journal_size configured - name: make sure journal_size configured