Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Use import_tasks instead of include to incorporate generate_server_certs.yml and generate_client_certs.yml #6

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
- name: Generate ca certificate
command: "openssl req -new -x509 -days 365 -key {{ dds_temp_path }}/ca-key.pem -sha256 -out {{ dds_temp_path }}/ca.pem -passin file:{{ dds_passphrase_file }} -subj '/C={{ dds_country }}/ST={{dds_state }}>/L={{ dds_locality }}/O={{ dds_organization }}/CN={{ dds_common_name }}'"

- include: generate_server_certs.yml
- include: generate_client_certs.yml
- import_tasks: generate_server_certs.yml
- import_tasks: generate_client_certs.yml

- name: Remove the temp directory
file:
Expand Down