From 11f2a4e93da1dff6da9f3e04db2b1c18ad515543 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 25 Apr 2023 17:03:26 +0200 Subject: [PATCH] add correct delegation to localhost --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 15130eb..a49c7a3 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -16,6 +16,7 @@ copy: dest: "/tmp/{{ ssh_ca_key_name }}.pub" content: "{{ key_pair.public_key }}" + delegate_to: localhost when: not cert_state.stat.exists - name: Generate certificate