From 42917c227a0f1103d258ce13e7b82096cc5b2034 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Wed, 26 Apr 2023 18:51:27 +0200 Subject: [PATCH] fix typo --- tasks/deploy_certificate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/deploy_certificate.yml b/tasks/deploy_certificate.yml index 3bb8821..739db40 100644 --- a/tasks/deploy_certificate.yml +++ b/tasks/deploy_certificate.yml @@ -28,7 +28,7 @@ dest: "/etc/ssh/{{ item.name }}-cert.pub" content: "{{ certificate.stdout }}" mode: 0644 - when: not cert_stat.exists + when: not cert_stat.stat.exists - name: Enable user certificate lineinfile: