ansible/test/integration
Adrian Likins 6e737c8cb6
Fix 'New Vault password' on vault 'edit' (#35923)
* Fix 'New Vault password' on vault 'edit'

ffe0ddea96 introduce a
change on 'ansible-vault edit' that tried to check
for --encrypt-vault-id in that mode. But '--encrypt-vault-id'
is not intended for 'edit' since the 'edit' should always
reuse the vault secret that was used to decrypt the text.

Change cli to not check for --encrypt-vault-id on 'edit'.

VaultLib.decrypt_and_get_vault_id() was change to return
the vault secret used to decrypt (in addition to vault_id
and the plaintext).

VaultEditor.edit_file() will now use 'vault_secret_used'
as returned from decrypt_and_get_vault_id() so that
an edited file always gets reencrypted with the same
secret, regardless of any vault id configuration or
cli options.

Fixes #35834
2018-03-27 14:12:21 -04:00
..
host_vars Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
targets Fix 'New Vault password' on vault 'edit' (#35923) 2018-03-27 14:12:21 -04:00
cloud-config-aws.yml.template
cloud-config-azure.yml.template
cloud-config-cs.ini.template
cloud-config-gcp.yml.template [cloud] New GCP module: DNS Managed Zones (gcp_dns_managed_zone.py) (#35014) 2018-02-06 11:50:16 -05:00
cloud-config-openshift.kubeconfig.template Initial OpenShift integration test support. (#36207) 2018-02-14 13:39:42 -08:00
cloud-config-tower.cfg.template Initial Tower module integration test support. 2018-03-07 14:21:55 -08:00
integration.cfg
integration_config.yml Fix pip integration test. 2018-01-31 23:26:16 -08:00
inventory ACI: Support validate_certs, use_ssl and use_proxy (#35146) 2018-01-21 00:38:20 +01:00
inventory.networking.template Reflect new process for network integration tests (#35577) 2018-01-31 14:56:28 -06:00
inventory.remote.template
inventory.winrm.template
network-integration.cfg
nxos.yaml Module deprecation: docs, scheme and tests (#34100) 2018-01-30 12:23:52 +00:00
target-prefixes.network ACI: Make network testing work out-of-the-box (#35116) 2018-01-20 02:47:28 +01:00
windows-integration.cfg