From c49fa4e89991ce25add23fe68e8a561c1232ef9a Mon Sep 17 00:00:00 2001
From: Samuel Veloso <veloso.lopez.samuel@gmail.com>
Date: Tue, 9 Jun 2020 14:48:07 +0200
Subject: [PATCH] Fix KDC certificate permissions

---
 tests/ca-less/install_replica_without_ca.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/ca-less/install_replica_without_ca.yml b/tests/ca-less/install_replica_without_ca.yml
index 40493a6e..83398b24 100644
--- a/tests/ca-less/install_replica_without_ca.yml
+++ b/tests/ca-less/install_replica_without_ca.yml
@@ -72,3 +72,11 @@
   roles:
     - role: ipareplica
       state: present
+
+  post_tasks:
+    - name: Fix KDC certificate permissions
+      file:
+        path: /var/kerberos/krb5kdc/kdc.crt
+        owner: root
+        group: root
+        mode: '0644'
-- 
GitLab