ansible/test/units/cli
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
..
test_data/role_skeleton Fix spelling mistakes (comments only) (#25564) 2017-06-12 07:55:19 +01:00
__init__.py
test_cli.py Don't ask for password confirm on 'ansible-vault edit' (#30514) 2017-09-19 17:39:51 -04:00
test_console.py
test_galaxy.py fixed issue with paths separator and others 2017-06-15 14:53:54 -04:00
test_playbook.py
test_vault.py Support multiple vault passwords (#22756) 2017-07-28 15:20:58 -04:00