Add idempotency test to test_ldap_group

This commit is contained in:
Matt Harlum 2022-09-09 12:15:22 +02:00
parent 71de2c7065
commit 198183f0dd

View File

@ -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