mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
Fix execution of client context tests.
When running the tests that can be executed either on server or client context, without defining 'ipa_context', the context is automatically identified. Currently, the tests in upstream CI run only on a server, and the context is identified as "server" context, and in order to run the test using a client context 'ipa_context' must be set to 'client'. This patch fixes all the client context tests by correctly setting ipa_context when running the client context tests in a server host.
This commit is contained in:
@@ -35,3 +35,5 @@
|
||||
- name: Test user using client context, in server host.
|
||||
import_playbook: test_user.yml
|
||||
when: groups['ipaclients'] is not defined or not groups['ipaclients']
|
||||
vars:
|
||||
ipa_context: client
|
||||
|
||||
Reference in New Issue
Block a user