ansible/test
Adrian Likins 307be59092 Don't ask for password confirm on 'ansible-vault edit' (#30514)
* Don't ask for password confirm on 'ansible-vault edit'

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
2017-09-19 17:39:51 -04:00
..
compile
integration windows: fix list type in legacy module utils (#30483) 2017-09-18 21:18:52 -07:00
legacy Add a code-smell test for smart quotes and remove smart quotes from all files 2017-09-18 16:49:16 -07:00
results Collect data from integration test runs. (#28650) 2017-08-25 18:14:47 -04:00
runner Fix docker error handling for cs/vcenter tests. 2017-09-15 16:49:46 -07:00
sanity Enable more pylint rules and fix reported issues. (#30543) 2017-09-19 00:45:35 -07:00
units Don't ask for password confirm on 'ansible-vault edit' (#30514) 2017-09-19 17:39:51 -04:00
utils Run all Windows tests if change detection disabled (#30320) 2017-09-13 22:21:19 -07:00