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
b5e096219d
commit
b263d1c29b
1 file changed
+2
-2
@@ -153,7 +153,7 @@
|
|||||||
group = "jd"
|
group = "jd"
|
||||||
|
|
||||||
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,ansible" -{{ '}}' }}
|
||||||
{{ '{{' }} .Data.signed_key {{ '}}' }}
|
{{ '{{' }} .Data.signed_key {{ '}}' }}
|
||||||
{{ '{{' }}- end -{{ '}}' }}
|
{{ '{{' }}- end -{{ '}}' }}
|
||||||
EOH
|
EOH
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
group = "ansible"
|
group = "ansible"
|
||||||
|
|
||||||
contents = <<EOH
|
contents = <<EOH
|
||||||
{{ '{{' }}- with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/ansible/.ssh/id_ed25519.pub"))) "valid_principals=ansible" -{{ '}}' }}
|
{{ '{{' }}- with secret "ssh/sign/admin" (printf "public_key=%s" (trimSpace (file "/home/ansible/.ssh/id_ed25519.pub"))) "valid_principals=jd,ansible" -{{ '}}' }}
|
||||||
{{ '{{' }} .Data.signed_key {{ '}}' }}
|
{{ '{{' }} .Data.signed_key {{ '}}' }}
|
||||||
{{ '{{' }}- end -{{ '}}' }}
|
{{ '{{' }}- end -{{ '}}' }}
|
||||||
EOH
|
EOH
|
||||||
|
|||||||
Reference in new issue
Block a user