From a6e647b8420265b9f1e9fdcc4d9d289f25d2c4b7 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 7 Sep 2026 15:27:04 +0200 Subject: [PATCH] refactor: drop ineffective remote_src from copy tasks All tasks writing the concatenated chain, fullchain and all files pass the file body via `content`. The `remote_src` option only governs how `src` is resolved and is ignored in that case, so it merely suggested a behaviour the tasks never had. Co-authored-by: Copilot --- tasks/client_certificate.yaml | 3 --- tasks/intermediate_certificate_authority.yaml | 3 --- tasks/root_certificate_authority.yaml | 1 - 3 files changed, 7 deletions(-) diff --git a/tasks/client_certificate.yaml b/tasks/client_certificate.yaml index bd50a48..e402005 100644 --- a/tasks/client_certificate.yaml +++ b/tasks/client_certificate.yaml @@ -68,7 +68,6 @@ owner: "root" group: "root" mode: "0644" - remote_src: true when: _stat_result.stat.exists is defined and _stat_result.stat.exists @@ -96,7 +95,6 @@ owner: "root" group: "root" mode: "0644" - remote_src: true when: _stat_result.stat.exists is defined and _stat_result.stat.exists @@ -124,6 +122,5 @@ owner: "root" group: "root" mode: "0600" - remote_src: true when: _stat_result.stat.exists is defined and _stat_result.stat.exists diff --git a/tasks/intermediate_certificate_authority.yaml b/tasks/intermediate_certificate_authority.yaml index bca0699..03b05aa 100644 --- a/tasks/intermediate_certificate_authority.yaml +++ b/tasks/intermediate_certificate_authority.yaml @@ -68,7 +68,6 @@ owner: "root" group: "root" mode: "0644" - remote_src: true when: _stat_result.stat.exists is defined and _stat_result.stat.exists @@ -96,7 +95,6 @@ owner: "root" group: "root" mode: "0644" - remote_src: true when: _stat_result.stat.exists is defined and _stat_result.stat.exists @@ -124,6 +122,5 @@ owner: "root" group: "root" mode: "0600" - remote_src: true when: _stat_result.stat.exists is defined and _stat_result.stat.exists diff --git a/tasks/root_certificate_authority.yaml b/tasks/root_certificate_authority.yaml index ba98361..bb353cc 100644 --- a/tasks/root_certificate_authority.yaml +++ b/tasks/root_certificate_authority.yaml @@ -61,7 +61,6 @@ owner: "root" group: "root" mode: "0600" - remote_src: true when: _stat_result.stat.exists is defined and _stat_result.stat.exists