This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ansible-ssh-masters.sh | |
| # | |
| # Establish one SSH master connection per host, keep it alive with a | |
| # remote sleep, run ansible-playbook with all original arguments, then | |
| # clean up only the masters this script started. | |
| # | |
| # Useful when SSH authentication has a per-connection human cost: | |
| # hardware security keys, passphrase prompts, FIDO2/U2F, etc. | |
| # |
OlderNewer