add an example for copying the CA cert
This commit is contained in:
parent
be23d7a498
commit
c0aa30a9a9
1 changed files with 7 additions and 0 deletions
|
@ -6,3 +6,10 @@
|
||||||
vars:
|
vars:
|
||||||
directory: /etc/nginx/certs/
|
directory: /etc/nginx/certs/
|
||||||
cname: example.com
|
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
|
||||||
|
|
Loading…
Reference in a new issue