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
acb187613e
commit
12e08a1c8d
1 file changed
+4
-3
@@ -150,11 +150,12 @@
|
|||||||
|
|
||||||
template {
|
template {
|
||||||
destination = "/home/jd/.ssh/id_ed25519-cert.pub"
|
destination = "/home/jd/.ssh/id_ed25519-cert.pub"
|
||||||
|
perms = "0644"
|
||||||
|
|
||||||
contents = <<EOH
|
contents = <<EOH
|
||||||
{{ with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/jd/.ssh/id_ed25519.pub"))) "valid_principals=jd" }}
|
{{ '{{' }} with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/jd/.ssh/id_ed25519.pub"))) "valid_principals=jd" {{ '}}' }}
|
||||||
{{ .Data.signed_key }}
|
{{ '{{' }} .Data.signed_key {{ '}}' }}
|
||||||
{{ end }}
|
{{ '{{' }} end {{ '}}' }}
|
||||||
EOH
|
EOH
|
||||||
}
|
}
|
||||||
owner: root
|
owner: root
|
||||||
|
|||||||
Reference in new issue
Block a user