mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 21:42:17 +00:00
Split vault tests in different files.
This change split vault tests in several files, organized by vault type and operation (vault vs. member) so that it is easier to add new tests for issues and verify if tests are missing.
This commit is contained in:
20
tests/vault/test_vault_members.yml
Normal file
20
tests/vault/test_vault_members.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Test vault
|
||||
hosts: ipaserver
|
||||
become: true
|
||||
# Need to gather facts for ansible_env.
|
||||
gather_facts: true
|
||||
|
||||
tasks:
|
||||
- name: Test vault module member operations.
|
||||
include_tasks:
|
||||
file: tasks_vault_members.yml
|
||||
apply:
|
||||
tags:
|
||||
- "{{ vault.vault_type }}"
|
||||
loop_control:
|
||||
loop_var: vault
|
||||
loop:
|
||||
- { name: "stdvault", vault_type: "standard" }
|
||||
- { name: "symvault", vault_type: "symmetric" }
|
||||
- { name: "asymvault", vault_type: "asymmetric" }
|
||||
Reference in New Issue
Block a user