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/parsing/yaml
Adrian Likins c771ab34c7 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.
8 years ago
..
__init__.py Making the switch to v2 10 years ago
test_dumper.py Implement vault encrypted yaml variables. (#16274) 8 years ago
test_loader.py Add error info if tabs are found in the yaml (#18343) 8 years ago
test_objects.py Add a encode() to AnsibleVaultEncryptedUnicode (#19840) 8 years ago