sudoers grants drinkadmin NOPASSWD only as root, so every 'sudo -u drinktracker' in the deploy prompted for a password. Restructured to pipe one script per phase to 'sudo -n bash -s' and use su inside, which needs no privilege change and cuts the SSH round-trips. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
7.0 KiB
Executable File
7.0 KiB
Executable File