fixing role definition test (#54715)

This commit is contained in:
Zim Kalinowski 2019-04-03 14:02:19 +08:00 committed by Yunge Zhu
parent ee08b009dd
commit 138fc11ee0

View file

@ -58,6 +58,7 @@
- name: Assert facts
assert:
that:
- facts['roledefinitions'] | length > 1
- name: Get facts
@ -68,6 +69,7 @@
- name: Assert facts
assert:
that:
- facts['roledefinitions'] | length == 1
- facts['roledefinitions']['permissions'] | length == 1
- facts['roledefinitions']['permissions'][0]['not_data_actions'] | length == 1