mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-05 13:44:24 -07:00
parent
bc99432f89
commit
eaa5e07b28
247 changed files with 7318 additions and 7375 deletions
|
@ -25,8 +25,8 @@
|
|||
expires_at: '2025-01-01'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
register: create_pfail_token_status
|
||||
always:
|
||||
- name: Assert that token creation in nonexisting group failed
|
||||
|
@ -47,8 +47,8 @@
|
|||
expires_at: '2025-13-01'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
register: create_efail_token_status
|
||||
always:
|
||||
- name: Assert that token creation with invalid expires_at failed
|
||||
|
@ -68,8 +68,8 @@
|
|||
expires_at: '2024-12-31'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
register: create_token_status
|
||||
- name: Assert that token creation with valid arguments is successfull
|
||||
assert:
|
||||
|
@ -88,8 +88,8 @@
|
|||
expires_at: '2024-12-31'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
register: check_token_status
|
||||
- name: Assert that token creation without changes and recreate=never succeeds with status not changed
|
||||
assert:
|
||||
|
@ -108,8 +108,8 @@
|
|||
expires_at: '2024-12-31'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
recreate: state_change
|
||||
register: check_recreate_token_status
|
||||
- name: Assert that token creation without changes and recreate=state_change succeeds with status not changed
|
||||
|
@ -130,8 +130,8 @@
|
|||
expires_at: '2025-01-01'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
register: change_token_status
|
||||
always:
|
||||
- name: Assert that token change with recreate=never fails
|
||||
|
@ -151,8 +151,8 @@
|
|||
expires_at: '2025-01-01'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
recreate: state_change
|
||||
register: change_recreate_token_status
|
||||
- name: Assert that token change with recreate=state_change succeeds
|
||||
|
@ -172,8 +172,8 @@
|
|||
expires_at: '2025-01-01'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
recreate: always
|
||||
register: change_recreate1_token_status
|
||||
- name: Assert that token change with recreate=always succeeds
|
||||
|
@ -193,8 +193,8 @@
|
|||
expires_at: '2024-12-31'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
register: revoke_token_status
|
||||
- name: Assert that token revocation succeeds
|
||||
assert:
|
||||
|
@ -212,8 +212,8 @@
|
|||
expires_at: '2024-12-31'
|
||||
access_level: developer
|
||||
scopes:
|
||||
- api
|
||||
- read_api
|
||||
- api
|
||||
- read_api
|
||||
register: revoke_token_status
|
||||
- name: Assert that token revocation succeeds with status not changed
|
||||
assert:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue