mirror of
https://github.com/LIV2/ansible-modules-hashivault.git
synced 2025-12-06 06:32:48 +00:00
Add idempotency test to test_ldap_group
This commit is contained in:
parent
71de2c7065
commit
198183f0dd
@ -23,6 +23,12 @@
|
||||
- assert: { that: "{{ ldap_module.changed }} == True" }
|
||||
- assert: { that: "{{ ldap_module.rc }} == 0" }
|
||||
|
||||
- name: ldap configuration is idempotent
|
||||
hashivault_auth_ldap:
|
||||
ldap_url: ldap://localhost
|
||||
register: ldap_module_idempotent
|
||||
- assert: { that: "{{ ldap_module_idempotent.changed }} == False" }
|
||||
|
||||
- name: remove ldap group
|
||||
hashivault_ldap_group:
|
||||
name: test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user