Skip to content

Commit

Permalink
Make single "test_*_client_context.yml" file per module.
Browse files Browse the repository at this point in the history
Signed-off-by: Denis Karpelevich <[email protected]>
  • Loading branch information
dkarpele committed Jan 25, 2023
1 parent 4756d39 commit 6680c05
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 80 deletions.
12 changes: 12 additions & 0 deletions tests/netgroup/test_netgroup_client_context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,15 @@
when: groups['ipaclients'] is not defined or not groups['ipaclients']
vars:
ipa_context: client

- name: Test netgroup with external members using client context, in client host.
ansible.builtin.import_playbook: test_netgroup_ext_member.yml
when: groups['ipaclients']
vars:
ipa_test_host: ipaclients

- name: Test netgroup with external members using client context, in server host.
ansible.builtin.import_playbook: test_netgroup_ext_member.yml
when: groups['ipaclients'] is not defined or not groups['ipaclients']
vars:
ipa_context: client
40 changes: 0 additions & 40 deletions tests/netgroup/test_netgroup_ext_member_client_context.yml

This file was deleted.

12 changes: 12 additions & 0 deletions tests/sudorule/test_sudorule_client_context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,15 @@
when: groups['ipaclients'] is not defined or not groups['ipaclients']
vars:
ipa_context: client

- name: Test sudorule with external members using client context, in client host.
ansible.builtin.import_playbook: test_sudorule_ext_member.yml
when: groups['ipaclients']
vars:
ipa_test_host: ipaclients

- name: Test sudorule with external members using client context, in server host.
ansible.builtin.import_playbook: test_sudorule_ext_member.yml
when: groups['ipaclients'] is not defined or not groups['ipaclients']
vars:
ipa_context: client
40 changes: 0 additions & 40 deletions tests/sudorule/test_sudorule_ext_member_client_context.yml

This file was deleted.

0 comments on commit 6680c05

Please sign in to comment.