ansible/test/units
Adrian Likins 22f7ca8c97 Add a encode() to AnsibleVaultEncryptedUnicode (#19840)
* 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 c771ab34c7)
2017-01-04 12:17:38 -05:00
..
cli
contrib
errors
executor Change v2_playbook_on_start logic to positively detect legacy plugins 2016-11-01 07:53:04 -07:00
inventory
inventory_test_data/group_vars
mock Fix bug (#18355) where encrypted inventories fail 18355 (#18373) 2016-11-07 10:15:09 -05:00
module_utils let chdir support relative path in more modules (#16736) 2016-12-22 00:21:30 -08:00
modules
parsing Add a encode() to AnsibleVaultEncryptedUnicode (#19840) 2017-01-04 12:17:38 -05:00
playbook make hash_params more robust in the face of many corner cases (#18701) 2016-12-05 04:02:21 -08:00
plugins Template "original_task" fields in _process_pending_results 2016-12-21 10:11:59 -06:00
template
utils
vars Make ini parsing slightly more robust 2016-10-04 11:25:45 -07:00
__init__.py