From c3629a8be52a5a508a80887d1293e7fffb9c45be Mon Sep 17 00:00:00 2001 From: Matthieu Saulnier Date: Sun, 17 Feb 2019 17:00:40 +0100 Subject: Minor changes: remove meta which was false add http header in caddyfile update keys and certificates version add authority certification informations in dns zone files --- roles/common/tasks/ca.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'roles/common/tasks/ca.yml') diff --git a/roles/common/tasks/ca.yml b/roles/common/tasks/ca.yml index 72f1730..74bde08 100644 --- a/roles/common/tasks/ca.yml +++ b/roles/common/tasks/ca.yml @@ -3,15 +3,16 @@ src: root.pem dest: /etc/pki/ca-trust/source/anchors/root.pem mode: 0444 + register: cafile -- name: Installation de l'autorité de certification CACert - copy: - src: cacert.pem - dest: /etc/pki/ca-trust/source/anchors/cacert.pem - mode: 0444 +- name: Désinstallation de l'autorité de certification CACert + file: + path: /etc/pki/ca-trust/source/anchors/cacert.pem + state: absent - name: Mise à jour de la base de confiance CA command: /usr/bin/update-ca-trust + when: cafile is changed - name: Installation CA personnel pour applis serveur copy: -- cgit