fabric/fabric — Issue #521: Add a skip_on_prompts
Author: reeesga
Created: 2012-01-02 23:17:50+00:00
State: open

If I cronjob a fabric task towards multiple hosts (-H ) and one of them has e.g. changed password, the session hangs, asking for a password. If I set the "abort_on_prompts", the session exits instead, and the rest of nodes in the role are never tasked.

So I'm needing something like a "skip_on_prompts" for my fully automated fabfile.

Can I make up this behaviour somehow? I tried setting env.abort_on_prompts=True, then wrapping into a warn_only=True, but the abort proceeds anyway.

Or, put in another way, warn_only=True should take precedence over abort_on_prompts=True.