From c0aa30a9a98bb610a14dbaa670c5169e9b665ea6 Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Mon, 20 Sep 2021 14:11:58 +0200 Subject: [PATCH] add an example for copying the CA cert --- example.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/example.yml b/example.yml index 6eea405..dddc126 100644 --- a/example.yml +++ b/example.yml @@ -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