diff options
author | Michael DeHaan <michael@ansibleworks.com> | 2013-08-10 23:59:05 +0200 |
---|---|---|
committer | Michael DeHaan <michael@ansibleworks.com> | 2013-08-10 23:59:05 +0200 |
commit | 0988a866530dd566359e8883ca50f4692a5e2d6e (patch) | |
tree | ac5f8ac92e243b74023cd0c22849968f9fc998b7 /bin | |
parent | Smite tabs in whitespace. (diff) | |
download | ansible-0988a866530dd566359e8883ca50f4692a5e2d6e.tar.xz ansible-0988a866530dd566359e8883ca50f4692a5e2d6e.zip |
Misc style fixes.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ansible | 6 | ||||
-rwxr-xr-x | bin/ansible-playbook | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/ansible b/bin/ansible index 20560f1258..af669e099e 100755 --- a/bin/ansible +++ b/bin/ansible @@ -99,9 +99,9 @@ class Cli(object): options.ask_pass = options.ask_pass or C.DEFAULT_ASK_PASS # Never ask for an SSH password when we run with local connection if options.connection == "local": - options.ask_pass = False - options.ask_sudo_pass= options.ask_sudo_pass or C.DEFAULT_ASK_SUDO_PASS - ( sshpass, sudopass ) = utils.ask_passwords(ask_pass=options.ask_pass, ask_sudo_pass=options.ask_sudo_pass) + options.ask_pass = False + options.ask_sudo_pass = options.ask_sudo_pass or C.DEFAULT_ASK_SUDO_PASS + (sshpass, sudopass) = utils.ask_passwords(ask_pass=options.ask_pass, ask_sudo_pass=options.ask_sudo_pass) if options.sudo_user or options.ask_sudo_pass: options.sudo = True options.sudo_user = options.sudo_user or C.DEFAULT_SUDO_USER diff --git a/bin/ansible-playbook b/bin/ansible-playbook index 59b6afa078..818e50cf77 100755 --- a/bin/ansible-playbook +++ b/bin/ansible-playbook @@ -93,9 +93,9 @@ def main(args): options.ask_pass = options.ask_pass or C.DEFAULT_ASK_PASS # Never ask for an SSH password when we run with local connection if options.connection == "local": - options.ask_pass = False + options.ask_pass = False options.ask_sudo_pass = options.ask_sudo_pass or C.DEFAULT_ASK_SUDO_PASS - ( sshpass, sudopass ) = utils.ask_passwords(ask_pass=options.ask_pass, ask_sudo_pass=options.ask_sudo_pass) + (sshpass, sudopass) = utils.ask_passwords(ask_pass=options.ask_pass, ask_sudo_pass=options.ask_sudo_pass) options.sudo_user = options.sudo_user or C.DEFAULT_SUDO_USER extra_vars = {} |