Merge pull request #403 from rjeffman/tests_remove_inline_certificates

Remove inline certificates from module test playbooks.
This commit is contained in:
Thomas Woerner
2020-11-18 10:16:47 +01:00
committed by GitHub
28 changed files with 235 additions and 502 deletions

View File

@@ -62,3 +62,11 @@
file:
path: "{{ ansible_env.HOME }}/in.txt"
state: absent
- name: Remove private/public key files.
shell:
cmd: rm -f private.pem public.pem
delegate_to: localhost
become: no
args:
warn: no # suppres warning for not using the `file` module.

View File

@@ -1,4 +1,7 @@
# Tasks executed to ensure a sane environment to test IPA Vault module.
---
# Tasks executed to ensure a sane environment to test IPA Vault module.
- name: Ensure environment is clean.
import_tasks: env_cleanup.yml
- name: Create private key file.
shell:
@@ -12,9 +15,6 @@
delegate_to: localhost
become: no
- name: Ensure environment is clean.
import_tasks: env_cleanup.yml
- name: Copy password file to target host.
copy:
src: "{{ playbook_dir }}/password.txt"