ansible/test/units/cli
Adrian Likins f8ad9ca75d Don't ask for password confirm on 'ansible-vault edit' (#30514)
This is to match the 2.3 behavior on:

        ansible-vault edit encrypted_file.yml

Previously, the above command would consider that a 'new password'
scenario and prompt accordingly, ie:

        $ ansible-vault edit encrypted_file.yml
        New Password:
        Confirm New Password:

The bug was cause by 'create_new_password' being used for
'edit' action. This also causes the previous implicit 'auto prompt'
to get triggered and prompt the user.

Fix is to make auto prompt explicit in the calling code to handle
the 'edit' case where we want to auto prompt but we do not want
to request a password confirm.

Fixes #30491

(cherry picked from commit 307be59092)
2017-09-20 11:00:42 -04:00
..
test_data/role_skeleton Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
__init__.py galaxy info displayed 'galaxy_info' section wrong 2016-05-31 13:28:15 -04:00
test_cli.py Don't ask for password confirm on 'ansible-vault edit' (#30514) 2017-09-20 11:00:42 -04:00
test_console.py Fix error on 'help module' in ansible-console (#19390) 2016-12-20 15:50:29 -05:00
test_galaxy.py fixed issue with paths separator and others 2017-06-15 14:53:54 -04:00
test_playbook.py Transition inventory into plugins (#23001) 2017-05-23 17:16:49 -04:00
test_vault.py Support multiple vault passwords (#22756) 2017-07-28 15:20:58 -04:00