mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-10-28 05:07:06 +01:00
build
This commit is contained in:
1 parent
12d59ee899
commit
9b939b83c6
1 file changed
+2
-4
@@ -171,10 +171,8 @@
|
||||
user = "jd"
|
||||
group = "jd"
|
||||
contents = <<EOH
|
||||
{{ '{{' }} with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/jd/.ssh/id_ed25519.pub"))) "valid_principals=jd" {{ '}}' }}
|
||||
{{ '{{' }} .Data.signed_key {{ '}}' }}
|
||||
{{ '{{' }} end {{ '}}' }}
|
||||
EOH
|
||||
{{- with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/jd/.ssh/id_ed25519.pub"))) "valid_principals=jd" }}{{ .Data.signed_key }}{{ end -}}
|
||||
EOH
|
||||
}
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
Reference in new issue
Block a user