You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
7 years ago
..
test_data/role_skeleton Fix spelling mistakes (comments only) (#25564) 7 years ago
__init__.py galaxy info displayed 'galaxy_info' section wrong 8 years ago
test_cli.py Don't ask for password confirm on 'ansible-vault edit' (#30514) 7 years ago
test_console.py Fix error on 'help module' in ansible-console (#19390) 8 years ago
test_galaxy.py fixed issue with paths separator and others 7 years ago
test_playbook.py Transition inventory into plugins (#23001) 7 years ago
test_vault.py Support multiple vault passwords (#22756) 7 years ago