22f7ca8c97
* Add a encode() to AnsibleVaultEncryptedUnicode
Without it, calling encode() on it results in a bytestring
of the encrypted !vault-encrypted string.
ssh connection plugin triggers this if ansible_password
is from a var using !vault-encrypted. That path ends up
calling .encode() instead of using the __str__.
Fixes #19795
* Fix str.encode() errors on py2.6
py2.6 str.encode() does not take keyword arguments.
(cherry picked from commit
|
||
---|---|---|
.. | ||
utils | ||
vault | ||
yaml | ||
__init__.py | ||
test_addresses.py | ||
test_data_loader.py | ||
test_mod_args.py | ||
test_splitter.py | ||
test_unquote.py |