mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-09-08 21:27:36 +02:00
build
This commit is contained in:
@@ -171,9 +171,7 @@
|
||||
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 {{ '}}' }}
|
||||
{{- 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
|
||||
|
||||
Reference in New Issue
Block a user