| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CVE-2017-7481
Lookup returns wrap the result in unsafe, however when used through the
standard templar engine, this does not result in the jinja2 environment being
marked as unsafe as a whole. This means the lookup result looses the unsafe
protection and may become simple unicode strings, which can result in bad
things being re-templated.
This also adds a global lookup param and cfg options for lookups to allow
unsafe returns, so users can force the previous (insecure) behavior.
(cherry picked from commit 72dfb1570d22ac519350a8c09e76c458789120ed)
(cherry picked from commit fadccda7c7a2e8d0650f4dee8e3cea93cf17acfd)
|
|
|
|
|
| |
No impact as variable wasn't used.
(cherry picked from commit 403c1427509eda68c36d9da7276dba944cd0fa49)
|
|
|
|
|
| |
* Use Shippable image: drydock/u16pytall:master
* Disable postgresql test needing privileged mode.
|
|
|
|
| |
(cherry picked from commit 631a10745d344c85817ab504f678d2c40ec8ae4b)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tolerate 'batch' systems taht mess with stdin
fixes #23541
* have pause on windows tolerate devnull
* tuplie
(cherry picked from commit 586fcae3981ce3d4c805051338ac6bd2df9a95c6)
|
| |
|
|
|
|
|
|
| |
Bad extra early (#22322)
(cherry picked from commit c71b15a696990dd4163fde087fe444f26b526e61)
|
| |
|
| |
|
|
|
|
|
|
| |
* Use packaging.version.Version instead of LooseVersion for better support of prerelease tags (eg, 0.30.0 > 0.30.0rc6)
* Add explicit check/error for msrestazure package
(cherry picked from commit d12c93ef2b15cae31e3d84de5f0aed15ca244485)
|
| |
|
|
|
|
| |
(cherry picked from commit 9751bf440e2b026874e70f950920e6dbee2e9115)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the Conditional class did a simple check when an
AnsibleUndefinedVariable error was raised to see if certain strings were
present. This patch tries to be smarter by evaluating the variable contained
in the error string and compared to the defined/not defined conditionals in
the conditional string.
This also modifies the UndefinedError message from HostVars slightly to
match the format returned jinja2 in general, making it easier to match the
error message in the Conditional code.
Fixes #18514
(cherry picked from commit 81aa12eb1b5a2b50ac9234ca0b05c015af88a845)
(cherry picked from commit cfd57fcae27319ad5252d58c466f45366b451f14)
|
|
|
|
| |
(cherry picked from commit 9f0b3540237d59b7fa1eed514f86e9f0095a3585)
|
|
|
|
|
|
| |
Fixes #20568
(cherry picked from commit 86beb55a9041a92d0ab2f28ea7fe042997b8059f)
|
| |
|
|
|
|
|
|
|
|
| |
- also warn as module SHOULD have no_log
- make password regex exportable for testing
- avoids boolean fields
(cherry picked from commit 403e9d35dff54395766fcf74ed79d294728c1672)
|
| |
|
|
|
|
| |
(cherry picked from commit 2f1ab2985510a1c07482d3865dde45234549bb91)
|
|
|
|
|
|
| |
This resolves issues with older versions of pip.
(cherry picked from commit a8fb6f0958704c2f6d5b1be776423dc6263a82cf)
|
|
|
|
| |
(cherry picked from commit ad652746437b4e7d225a9725a501ca1cdfd07969)
|
|
|
|
|
| |
Fixes #20253
Fixes #20290
|
|
|
|
| |
release working with jinja2-2.9.
|
|
|
|
|
|
| |
Fixes #20309
(cherry picked from commit af96cba7e1e125a52f923ab8d3a8ba0c3fa45e7a)
|
| |
|
| |
|
| |
|
|
|
|
| |
(cherry picked from commit b7cdc21aee7584bd33c3b3d7856397bc927e88b5)
|
|
|
|
|
|
|
| |
We're not yet compatible with jinja2-2.9 so help out people using pip to
install to get a working installation.
(cherry picked from commit 06ed25e788a3324214ee3226ca35b5586ee83344)
|
| |
|
|
|
|
| |
(cherry picked from commit a94a48f85fe4a76ab6e61ef9d1b9266b17cabc74)
|
|
|
|
| |
(cherry picked from commit d316068831f9e08ef96833200ec7df2132263966)
|
|
|
|
| |
(cherry picked from commit bcceada5d9b78ad77069c78226f8e9b336ff8949)
|
| |
|
|
|
|
| |
(cherry picked from commit cc3d131f503b34ae972dbed94a0b5fde567aab92)
|
| |
|
|
|
|
| |
(cherry picked from c8f8d0607c5c123522951835603ccb7948e663d5)
|
|
|
|
|
|
| |
Fixes #19398
(cherry picked from commit b688f1147474df7ab0c42a62f8c8258edcd9b425)
|
|
|
|
|
|
|
|
|
| |
This provides better error handling, and prevents errors like KeyError
from bubbliing up to code in odd places.
Fixes #17482
(cherry picked from commit 85bbce9d6b2e0cc06642ae10fa8ff7b9c8ae5454)
|
|
|
|
| |
(cherry picked from commit 18b7852940a3525bc7d147f68420b360b29cd0d0)
|
| |
|
|
|
|
|
|
|
|
|
| |
This forces basic auth to be used. Using the normal HTTPPasswordMgrWithDefaultRealm
password manager from urllib2 fails since collins doesn't send a 401 retry on failure.
More about this can be seen here http://stackoverflow.com/questions/2407126/python-urllib2-basic-auth-problem.
I added a small comment about the format of the host so others don't waste time like i did.
(cherry picked from commit 21813ed83eb899a7c2c78b024abcd9db6ce01023)
|
|
|
|
|
|
| |
w… (#17766)"
This reverts commit a36ac1ad1b01256041be5033d40c68554fb96f12.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#17766)
* Moved the _inventory.clear_group_dict_cache() from creating a group which doesn't exist, to adding members to the group.
* Update __init__.py
Update to use changed: block to catch all changes for cache clear as suggested
(cherry picked from commit b91d4d884d14101bc526ced4457bd02c1bd78ef6)
|
|
|
|
| |
(cherry picked from commit 5d043b65d355b8d7ef2696d457a916e607756ee6)
|
|
|
|
| |
(cherry picked from commit 7c960d440f9d9db3d2aa01183f399e113237ed0b)
|
|
|
|
|
|
| |
This should help on issues like #16222.
(cherry picked from commit 57cf5e431c69e7f8bb8607ff37fd51418249d03c)
|