diff options
author | Matt Martz <matt@sivel.net> | 2019-04-23 13:54:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-23 13:54:39 -0500 |
commit | db6cc603528c5d1c15acf89e092f99f5d24ca848 (patch) | |
tree | 71ba2d9d769f9882f210722d21fd644a5b2f0052 /test/integration/targets/vault | |
parent | 7ee6c136fddbab8a2f854f8c9561fadd5bc4c1c8 (diff) | |
download | ansible-db6cc603528c5d1c15acf89e092f99f5d24ca848.tar.gz |
Migrate command line parsing to argparse (#50610)
* Start of migration to argparse
* various fixes and improvements
* Linting fixes
* Test fixes
* Fix vault_password_files
* Add PrependAction for argparse
* A bunch of additional tweak/fixes
* Fix ansible-config tests
* Fix man page generation
* linting fix
* More adhoc pattern fixes
* Add changelog fragment
* Add support for argcomplete
* Enable argcomplete global completion
* Rename PrependAction to PrependListAction to better describe what it does
* Add documentation for installing and configuring argcomplete
* Address rebase issues
* Fix display encoding for vault
* Fix line length
* Address rebase issues
* Handle rebase issues
* Use mutually exclusive group instead of handling manually
* Fix rebase issues
* Address rebase issue
* Update version added for argcomplete support
* -e must be given a value
* ci_complete
Diffstat (limited to 'test/integration/targets/vault')
-rwxr-xr-x | test/integration/targets/vault/runme.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/targets/vault/runme.sh b/test/integration/targets/vault/runme.sh index 8bd35a8869..f9f3434af0 100755 --- a/test/integration/targets/vault/runme.sh +++ b/test/integration/targets/vault/runme.sh @@ -79,7 +79,7 @@ if [ -x "$(command -v setsid)" ]; then echo "rc was $WRONG_RC (0 is expected)" [ $WRONG_RC -eq 0 ] - setsid sh -c 'tty; ansible-vault --ask-vault-pass -vvvvv view test_vault.yml' < /dev/null > log 2>&1 && : + setsid sh -c 'tty; ansible-vault view --ask-vault-pass -vvvvv test_vault.yml' < /dev/null > log 2>&1 && : WRONG_RC=$? echo "rc was $WRONG_RC (1 is expected)" [ $WRONG_RC -eq 1 ] @@ -103,7 +103,7 @@ if [ -x "$(command -v setsid)" ]; then echo $? cat log - setsid sh -c 'tty; echo test-vault-password|ansible-vault --ask-vault-pass -vvvvv view vaulted.inventory' < /dev/null > log 2>&1 + setsid sh -c 'tty; echo test-vault-password|ansible-vault view --ask-vault-pass -vvvvv vaulted.inventory' < /dev/null > log 2>&1 echo $? cat log fi |