Configurable sudo default

Right now, I can have sudo disabled by default and enable it when needed using the -s command line option.
However, I’d like to have the opposite setup: have sudo enabled by default and disable it when not needed.

I propose the following, which would achieve this goal without having to update all one’s plays:

  • sudo entry in the configuration file. The example configuration file does not mention a sudo option that corresponds to ‘sudo: True’ or ‘sudo: False’ in playbooks. If it is supported, great. If not, I vote for having it.

  • A command line option for disabling sudo (the opposite of the current -s option). Perhaps -S ?