Skip to content
Snippets Groups Projects
Commit 58de022e authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

Add verification of IPA version for ipagroup's membermanager.

The ipagroup attribute `membermanager` requires the use of IPA
version 4.8.4 or later. This change ensure that the tests are
executed only if a required version is found.
parent 609901ed
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
gather_facts: false gather_facts: false
tasks: tasks:
- include_tasks: ../env_freeipa_facts.yml
- name: Tests requiring IPA version 4.8.4+
block:
- name: Ensure user manangeruser1 and manageruser2 is absent - name: Ensure user manangeruser1 and manageruser2 is absent
ipauser: ipauser:
ipaadmin_password: SomeADMINpassword ipaadmin_password: SomeADMINpassword
...@@ -201,3 +205,5 @@ ...@@ -201,3 +205,5 @@
state: absent state: absent
register: result register: result
failed_when: not result.changed failed_when: not result.changed
when: ipa_version is version('4.8.4', '>=')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment