community.general/lib/ansible
lumean b24c037f62 fix 'APIC Error 403: padding check failed' in python3 (#55150)
* fix 'APIC Error 403: padding check failed' in python3

With python2 the APIC-Request-Signature is filled in correctly
APIC-Request-Signature=aAvxASu...

But with python3 the string format method seems to
add the encoding to the output, causing a padding error:
APIC-Request-Signature=b'lFmHWvwW4dr...

Reproduce:
# -*- coding: utf-8 -*-
import base64
a = base64.b64encode(b'\u0001')
b = '%s' % a
print(b)
=======
python --version; python test.py
Python 2.7.16 :: Anaconda, Inc.
XHUwMDAx
Python 3.6.3 :: Anaconda, Inc.
b'XHUwMDAx'

* Ensure we use native strings
2019-04-11 17:28:44 +02:00
..
cli Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
compat Have update-bundled check for updates to all bundled code 2019-02-06 13:59:55 -08:00
config Renaming azure_rm_managed_disk for consistency (#54825) 2019-04-04 12:24:03 +08:00
errors Catch sshpass authentication errors and don't retry multiple times to prevent account lockout (#50776) 2019-01-23 11:32:25 -05:00
executor module_utils fixes in collections (#55118) 2019-04-10 22:59:53 -07:00
galaxy Update galaxy cli metadata file templates (#51398) 2019-02-22 00:54:02 -05:00
inventory Better test for cache method availability (#54740) 2019-04-09 09:32:11 -07:00
module_utils fix 'APIC Error 403: padding check failed' in python3 (#55150) 2019-04-11 17:28:44 +02:00
modules make waiting for init optional for non-thin volumes 2019-04-11 11:16:45 -04:00
parsing Collection content loading (#52194) 2019-03-28 10:41:39 -07:00
playbook Don't pollute include_variables (#54687) 2019-04-09 10:14:42 -05:00
plugins module_utils fixes in collections (#55118) 2019-04-10 22:59:53 -07:00
template Extend jinja2 nested undefined support to keys/indices (#55094) 2019-04-10 10:35:31 -05:00
utils module_utils fixes in collections (#55118) 2019-04-10 22:59:53 -07:00
vars fixes for stripping (#52930) 2019-03-12 18:18:38 -04:00
__init__.py
constants.py Fine tune sanity (#53544) 2019-03-11 15:12:14 -04:00
context.py Become plugins (#50991) 2019-02-11 11:27:44 -06:00
release.py Update Ansible release version to v2.8.0a1.post0. 2019-04-04 17:59:06 -07:00