summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New release v2.1.6.0-1v2.1.6.0-1stable-2.1James Cammarata2017-06-016-2/+15
|
* Updating CHANGELOG for 2.1.6 final releaseJames Cammarata2017-06-011-0/+8
|
* New release v2.1.6.0-0.1.rc1v2.1.6.0-0.1.rc1James Cammarata2017-05-094-2/+2
|
* Fixing security issue with lookup returns not tainting the jinja2 environmentJames Cammarata2017-05-084-2/+43
| | | | | | | | | | | | | | | | 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)
* Minor typo correction varibles -> variablesNick Piper2017-05-011-1/+1
| | | | | No impact as variable wasn't used. (cherry picked from commit 403c1427509eda68c36d9da7276dba944cd0fa49)
* Use Shippable image: drydock/u16pytall:master (#24003)Matt Clay2017-04-263-1/+9
| | | | | * Use Shippable image: drydock/u16pytall:master * Disable postgresql test needing privileged mode.
* fix hashing when path is symlinkBrian Coca2017-04-201-1/+1
| | | | (cherry picked from commit 631a10745d344c85817ab504f678d2c40ec8ae4b)
* tolerate 'batch' systems that mess with stdin (#23596)Brian Coca2017-04-182-17/+22
| | | | | | | | | | | | * tolerate 'batch' systems taht mess with stdin fixes #23541 * have pause on windows tolerate devnull * tuplie (cherry picked from commit 586fcae3981ce3d4c805051338ac6bd2df9a95c6)
* New release v2.1.5.0-1v2.1.5.0-1James Cammarata2017-03-276-1/+15
|
* catch bad extra vars data earlierBrian Coca2017-03-071-2/+7
| | | | | | Bad extra early (#22322) (cherry picked from commit c71b15a696990dd4163fde087fe444f26b526e61)
* refresh azure_rm.py inventory from develMatt Davis2017-03-061-20/+27
|
* New release v2.1.5.0-0.2.rc2v2.1.5.0-0.2.rc2James Cammarata2017-03-033-1/+1
|
* fix azure_rm version checks (#22270)Matt Davis2017-03-031-7/+19
| | | | | | * 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)
* New release v2.1.5.0-0.1.rc1v2.1.5.0-0.1.rc1James Cammarata2017-02-214-2/+2
|
* Additional lock down of conditionalsJames Cammarata2017-02-211-24/+41
| | | | (cherry picked from commit 9751bf440e2b026874e70f950920e6dbee2e9115)
* Rework how the Conditional class deals with undefined varsJames Cammarata2017-02-211-10/+40
| | | | | | | | | | | | | | | | | 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)
* Use proper YAML constructor class for safe loadingJames Cammarata2017-02-211-2/+2
| | | | (cherry picked from commit 9f0b3540237d59b7fa1eed514f86e9f0095a3585)
* Also clean template data even if marked unsafeJames Cammarata2017-02-101-1/+2
| | | | | | Fixes #20568 (cherry picked from commit 86beb55a9041a92d0ab2f28ea7fe042997b8059f)
* removed warn, which is added in 2.3Brian Coca2017-02-101-1/+0
|
* use regex vs list to weed out password fieldsBrian Coca2017-02-091-2/+6
| | | | | | | | - also warn as module SHOULD have no_log - make password regex exportable for testing - avoids boolean fields (cherry picked from commit 403e9d35dff54395766fcf74ed79d294728c1672)
* bump submodule refsMatt Davis2017-02-092-0/+0
|
* add url_password to 'cleanse' listBrian Coca2017-02-091-1/+1
| | | | (cherry picked from commit 2f1ab2985510a1c07482d3865dde45234549bb91)
* Use jinja2 import instead of pip to get version.Matt Clay2017-01-191-1/+1
| | | | | | This resolves issues with older versions of pip. (cherry picked from commit a8fb6f0958704c2f6d5b1be776423dc6263a82cf)
* Only test map on jinja2 >= 2.7Matt Clay2017-01-191-0/+3
| | | | (cherry picked from commit ad652746437b4e7d225a9725a501ca1cdfd07969)
* Add representer to AnsibleDumper for AnsibleUnsafeTextJames Cammarata2017-01-191-0/+6
| | | | | Fixes #20253 Fixes #20290
* Remove jinja2 version requirement in setup.py as we hope to have the next ↵Toshio Kuratomi2017-01-161-1/+1
| | | | release working with jinja2-2.9.
* Fix for bug in Conditional for older jinja2 versionsJames Cammarata2017-01-161-1/+2
| | | | | | Fixes #20309 (cherry picked from commit af96cba7e1e125a52f923ab8d3a8ba0c3fa45e7a)
* New release v2.1.4.0-1v2.1.4.0-1James Cammarata2017-01-166-1/+13
|
* Updating CHANGELOGJames Cammarata2017-01-161-1/+7
|
* New release v2.1.4.0-0.3.rc3v2.1.4.0-0.3.rc3James Cammarata2017-01-133-1/+1
|
* Additional security fixes for CVE-2016-9587James Cammarata2017-01-132-9/+59
| | | | (cherry picked from commit b7cdc21aee7584bd33c3b3d7856397bc927e88b5)
* Add jinja2 version constraint.Toshio Kuratomi2017-01-121-1/+1
| | | | | | | 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)
* New release v2.1.4.0-0.2.rc2v2.1.4.0-0.2.rc2James Cammarata2017-01-113-1/+1
|
* Partial revert of 76f7ce55James Cammarata2017-01-111-1/+1
| | | | (cherry picked from commit a94a48f85fe4a76ab6e61ef9d1b9266b17cabc74)
* Additional fixes for security related to CVE-2016-9587James Cammarata2017-01-112-18/+19
| | | | (cherry picked from commit d316068831f9e08ef96833200ec7df2132263966)
* Fixing another corner case for security related to CVE-2016-9587Computest2017-01-112-5/+9
| | | | (cherry picked from commit bcceada5d9b78ad77069c78226f8e9b336ff8949)
* Update fedora images for testing.Matt Clay2017-01-091-2/+2
|
* Fix group_by test to work with jinja2 >= 2.9.Matt Clay2017-01-091-2/+2
| | | | (cherry picked from commit cc3d131f503b34ae972dbed94a0b5fde567aab92)
* New release v2.1.4.0-0.1.rc1v2.1.4.0-0.1.rc1James Cammarata2017-01-094-2/+2
|
* Fixing security bugs CVE-2016-9587James Cammarata2017-01-096-48/+133
| | | | (cherry picked from c8f8d0607c5c123522951835603ccb7948e663d5)
* Correctly set loader path when using list tags/tasksJames Cammarata2016-12-211-0/+6
| | | | | | Fixes #19398 (cherry picked from commit b688f1147474df7ab0c42a62f8c8258edcd9b425)
* Wrap unhandled errors from lookups in an AnsibleErrorJames Cammarata2016-12-211-1/+1
| | | | | | | | | 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)
* cloudstack: utils: fail friendlier if no zones available (#19332)René Moser2016-12-141-0/+3
| | | | (cherry picked from commit 18b7852940a3525bc7d147f68420b360b29cd0d0)
* Updating core submodules for mysql fixJames Cammarata2016-11-291-0/+0
|
* Fix auth in collins.py inventoryMichael Schuett2016-11-232-1/+4
| | | | | | | | | 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)
* Revert "Moved the _inventory.clear_group_dict_cache() from creating a group ↵James Cammarata2016-11-181-4/+0
| | | | | | w… (#17766)" This reverts commit a36ac1ad1b01256041be5033d40c68554fb96f12.
* Moved the _inventory.clear_group_dict_cache() from creating a group w… ↵jamessewell2016-11-181-0/+4
| | | | | | | | | | | | (#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)
* fix for filter fixBrian Coca2016-11-171-1/+7
| | | | (cherry picked from commit 5d043b65d355b8d7ef2696d457a916e607756ee6)
* remove rsync path from returned factsBrian Coca2016-11-171-1/+1
| | | | (cherry picked from commit 7c960d440f9d9db3d2aa01183f399e113237ed0b)
* Catch loop eval errors and only raise them again if the task is not skippedJames Cammarata2016-11-151-1/+13
| | | | | | This should help on issues like #16222. (cherry picked from commit 57cf5e431c69e7f8bb8607ff37fd51418249d03c)