Add docs about --ask-key-passphrase and --ssh-key-passphrase-env
All checks were successful
CI / test (push) Successful in 1m44s

This commit is contained in:
Miguel Jacq 2026-02-17 10:56:56 +11:00
parent 481a0c05a0
commit bbd0400132
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
2 changed files with 13 additions and 2 deletions

View file

@ -200,7 +200,7 @@ enroll single-shot \
--out ./ansible \
--fqdn myhost.example.com</code></pre>
</div>
<div class="smallprint mt-3">If you don't want/need sudo on the remote host, add <code>--no-sudo</code> (expect a less complete harvest).</div>
<div class="smallprint mt-3">If you don't want/need sudo on the remote host, add <code>--no-sudo</code> (expect a less complete harvest). For remote sudo prompts use <code>--ask-become-pass</code>/<code>-K</code>. If your SSH private key is encrypted, use <code>--ask-key-passphrase</code> (interactive) or <code>--ssh-key-passphrase-env ENV_VAR</code> (non-interactive/CI).</div>
</div>
<div class="tab-pane fade" id="qs3" role="tabpanel" aria-labelledby="qs3-tab">