mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 04:24:31 +00:00
Ansible command module + become does not reliably pass environment: vars through sudo env_reset. Use ansible.builtin.shell with POSIX inline assignment (VAR=val cmd) so credentials are set inside the sudo-spawned shell subprocess, never touching the sudo env barrier. account.conf writing retained for cron renewal. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| main.yml | ||