From 53c53b17e7824e166504f5ad8b4de737e3b20ccf Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Thu, 6 Apr 2023 15:05:57 +0100 Subject: [PATCH] Copy specific files in dehydrated to avoid copying the subrepo .git. --- states/certificates/init.sls | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/states/certificates/init.sls b/states/certificates/init.sls index ff79150..a3ffee1 100644 --- a/states/certificates/init.sls +++ b/states/certificates/init.sls @@ -24,9 +24,10 @@ dehydrated_mythic_dns01: - source: salt://certificates/dehydrated/dehydrated-mythic-dns01 - dir_mode: '0755' - file_mode: '0755' - - exclude_pat: - - "debian*" - - README.md + - include_pat: + - "*.sh" + - "*-challenge" + - "common" dehydrated_hooks: file.recurse: