mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-19 23:49:09 -07:00
fixing role definition test (#54715)
This commit is contained in:
parent
ee08b009dd
commit
138fc11ee0
1 changed files with 7 additions and 5 deletions
|
@ -58,6 +58,7 @@
|
||||||
|
|
||||||
- name: Assert facts
|
- name: Assert facts
|
||||||
assert:
|
assert:
|
||||||
|
that:
|
||||||
- facts['roledefinitions'] | length > 1
|
- facts['roledefinitions'] | length > 1
|
||||||
|
|
||||||
- name: Get facts
|
- name: Get facts
|
||||||
|
@ -68,6 +69,7 @@
|
||||||
|
|
||||||
- name: Assert facts
|
- name: Assert facts
|
||||||
assert:
|
assert:
|
||||||
|
that:
|
||||||
- facts['roledefinitions'] | length == 1
|
- facts['roledefinitions'] | length == 1
|
||||||
- facts['roledefinitions']['permissions'] | length == 1
|
- facts['roledefinitions']['permissions'] | length == 1
|
||||||
- facts['roledefinitions']['permissions'][0]['not_data_actions'] | length == 1
|
- facts['roledefinitions']['permissions'][0]['not_data_actions'] | length == 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue