mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-30 08:31:28 -07:00
Initial commit
This commit is contained in:
commit
aebc1b03fd
4861 changed files with 812621 additions and 0 deletions
21
tests/integration/targets/setup_tls/tasks/main.yml
Normal file
21
tests/integration/targets/setup_tls/tasks/main.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
# Generated certificate with: https://github.com/michaelklishin/tls-gen
|
||||
# ~/tls-gen/basic# make PASSWORD=bunnies CN=ansible.tls.tests
|
||||
# verify with: make info
|
||||
|
||||
- name: ensure target directory is present
|
||||
file:
|
||||
path: /tls
|
||||
state: directory
|
||||
|
||||
- name: ensure TLS files are present
|
||||
copy:
|
||||
src: "{{ item }}"
|
||||
dest: "/tls/{{ item }}"
|
||||
loop:
|
||||
- ca_certificate.pem
|
||||
- ca_key.pem
|
||||
- client_certificate.pem
|
||||
- client_key.pem
|
||||
- server_certificate.pem
|
||||
- server_key.pem
|
Loading…
Add table
Add a link
Reference in a new issue