Toshio Kuratomi
057c1df303
Remove temp file
10 years ago
Toshio Kuratomi
cf5ce97275
Somehow, git mv only rm'd test/v2 and didn't add v2/test
10 years ago
Toshio Kuratomi
b62e7ae8f5
Remove extraneous __init__ to fix v2 unittests
10 years ago
Toshio Kuratomi
46b54443f1
Add a README for the v2 unittests
10 years ago
Toshio Kuratomi
938b2108d0
Move the v2 tests under the v2 tree
10 years ago
Michael DeHaan
187da236b4
Add new class stubs
10 years ago
Toshio Kuratomi
139e4767e4
Merge pull request #9329 from mcodd/devel
...
python2.4 compatibility issue with urlparse
10 years ago
Michael DeHaan
bdf3ec1e21
Merge pull request #9331 from marcinpraczko/devel
...
Fix detecting distribution release on OpenSuSE
10 years ago
Michael DeHaan
c930ee4747
Merge pull request #9312 from admiyo/freeipa
...
Inventory Plugin to get hostgroups from FreeIPA
10 years ago
Michael DeHaan
edac9ad4c3
Merge pull request #9303 from willthames/gitmodules_over_https
...
Use https for git submodules
10 years ago
Michael DeHaan
1831ca3b90
Merge pull request #9299 from weargoggles/quoted-comment
...
Remove no-op string declaration
10 years ago
Michael DeHaan
e6bf1f5b6e
Merge pull request #9328 from Batmat/fix-receive-typo
...
Typo: recieve -> receive.
10 years ago
Marcin Praczko
1917906dd6
Fix detecting distribution release on OpenSuSE
...
Ansible raised exception during parsering /etc/SuSE-release file.
Regular expresion should use string instead of list.
Fix tested on OpenSuse 13.1
10 years ago
Baptiste Mathus
2845f0c455
Typo: recieve -> receive.
10 years ago
Matt Coddington
10113e6a67
python2.4 compatibility issue with urlparse
10 years ago
Toshio Kuratomi
617352a38e
Python3 test target and use coverage for all v2 tests.
10 years ago
Toshio Kuratomi
692d31d221
Python3 fix
10 years ago
Toshio Kuratomi
1e255a72a8
Python3 fix
10 years ago
Toshio Kuratomi
25ac4ccef3
Update other asserts that have a py2.6 unittest method
10 years ago
Toshio Kuratomi
c752f012f7
Start converting asserts to self.assert*() so we get better error messages
10 years ago
Adam Young
428674cb90
Inventory Plugin to get hostgroups from FreeIPA
10 years ago
Michael DeHaan
ccd559137f
add missing headers, rm the subtree of ansible/inventory as we wish to overhaul it.
10 years ago
James Cammarata
fe5a7bcabf
Fixing bad variable naming choices
10 years ago
James Cammarata
2eda9a3a47
Fixing item loop when undefined variable errors occur because of missing attributes
...
Fixes a case where the variable 'foo' may exist, but the with_items loop
was used on something like 'foo.results', where 'results' was not a valid
attribute of 'foo'. Prior to this patch, conditionals were not evaluated
until later, meaning there was no opportunity to allow a test to skip the
task or item based on it being undefined.
10 years ago
Toshio Kuratomi
b4f84c5d9a
Update the core and extras submodules
10 years ago
Toshio Kuratomi
2b9e235ffd
Rework distribution fact checking to be a little less heinous and add
...
support for Mandriva.
Fixes #9282
10 years ago
James Cammarata
d19fe8d95d
Fetch vars for host directly when calculating the delegated user
...
This fixes the case in which the delegated to host may not be in the
specified hosts list, in which cases facts/vars for the host were
not available in the injected hostvars.
This also fixes the inventory variable fetching function, so that an
unknown host raises a proper error as opposed to a NoneType exception.
Fixes #8224
10 years ago
Will Thames
545f816639
Use https for git submodules
...
It's much more likely that people can use the https protocol
than the git protocol (many firewalls block the latter)
10 years ago
James Cammarata
2a0d18b092
Insert newlines correctly when splitting literal blocks
...
Fixes #9274
10 years ago
James Cammarata
a50332fc8a
Adding v2 error line support, and tests
10 years ago
James Cammarata
383a44a462
Updating submodule pointer for core
10 years ago
Pete Smith
0953322b23
Remove no-op string declaration
10 years ago
Michael DeHaan
fac414ea48
Merge pull request #9297 from lorin/patch-4
...
Typo: mo[u]dules
10 years ago
Toshio Kuratomi
e91e30cd5e
Fix unspecified role versions.
...
Fixes #9236
10 years ago
Toshio Kuratomi
48a308a87c
Allow both old-style and new-style role dependencies to be valid.
...
Fixes #9173
10 years ago
Lorin Hochstein
17d0022384
Typo: mo[u]dules
...
Fix typo: moudules -> modules
10 years ago
Michael DeHaan
98ed69213b
Error -> ParserError
10 years ago
Michael DeHaan
79f41d9c1a
This makes the module args parser more functional to eliminate side effects and eliminiates the 'return None' error path
...
to make sure we are handling more use cases. Some paths are not yet complete, including most likely handling of the 'raw'
module.
10 years ago
Michael DeHaan
56b6cb5328
Teaching objects to load themselves, making the JSON/YAML parsing ambidexterous.
10 years ago
Toshio Kuratomi
c75aeca435
Merge removal of complex_args_hack
10 years ago
Toshio Kuratomi
a10d10f647
Workaround more python-2.6 shlex not being able to handle unicode strings
10 years ago
James Cammarata
625e2c834e
Merge pull request #9288 from leucos/devel
...
Fixes Arch PKGBUILD
10 years ago
James Cammarata
ad893ea867
Merge pull request #9286 from damncabbage/9008-undef-var-in-list
...
Makes listify_lookup_plugin_terms respect the global setting for undefined variables.
10 years ago
Toshio Kuratomi
a6029264b8
remove complex_args_hack as it was only needed for Baby JSON
10 years ago
James Cammarata
c83a833740
New v2 ModuleArgsParser code and fixing up tests/other task code
10 years ago
Michel Blanc
ce58706dd0
Fixes Arch PKGBUILD
...
Build was failing with new Ansible submodule setup for core and extras
modules.
Integrated fix from @firecat53
Added @firecat53 to contributors.
10 years ago
Rob Howard
2769098fe7
Make listify respect the global setting for undefined variables.
...
(Fixes #9008.)
With credit to jimi-c for the initial pass in this commit:
b18bd6b98e
10 years ago
James Cammarata
bbd9921dbd
Adding a negative test for new safe_load
10 years ago
Michael DeHaan
4cb7f654b6
Add stub tests for module args parsing.
10 years ago
James Cammarata
93e273333d
Adding tests for new yaml parsing stuff and adjusting imports
10 years ago