add an example for copying the CA cert

This commit is contained in:
histausse 2021-09-20 14:11:58 +02:00
parent be23d7a498
commit c0aa30a9a9
Signed by: histausse
GPG key ID: 67486F107F62E9E9

View file

@ -6,3 +6,10 @@
vars:
directory: /etc/nginx/certs/
cname: example.com
- hosts: all
tasks: Copy the CA certificate to remote host, for mutual SSL auth for instance
- name:
copy:
content: "{{ ca_cert }}"
dest: /etc/nginx/certs/ca.crt