I am looking for a way to configure passwords for "sudoing" in the various hosts targeted by a fabfile.py
. I accept "clear" passwords" in a ~/.fabric.py|yaml|json
but not in the fabfile.py
.
Unless I didn't read correctly, the fabric documentation shows how to provide a common sudo password in a configuration file, but I have different users (managed through ~/.ssh/config
) and different passwords for those hosts. And the system admin do not accept to let sudoing without password.
Thanks for any hint.