Toshio Kuratomi
48a308a87c
Allow both old-style and new-style role dependencies to be valid.
...
Fixes #9173
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
Michael DeHaan
4cb7f654b6
Add stub tests for module args parsing.
10 years ago
Michael DeHaan
6db1b4dfd2
WIP on refactoring changes
10 years ago
Toshio Kuratomi
e6fcd90342
Merge pull request #9224 from drawks/iss9223
...
Resolve #9223 Fix test for python 2.6
10 years ago
Toshio Kuratomi
e00d657362
Make unittest compatible with python <= 2.6
10 years ago
Dave Rawks
5f54b57b6d
Corrected indentation
10 years ago
Toshio Kuratomi
0af750e3e5
Merge pull request #9182 from bbasleeper/feature_sudo_exe_from_inventory
...
Add a new inventory parameter (ansible_sudo_exe) to specify sudo command...
10 years ago
Dave Rawks
c070ab69f7
Resolve #9223 Fix test for python 2.6
...
* trivial test refactor to allow for python 2.6 compat
10 years ago
Bruno BAILLUET
a25da4af05
Add a new inventory parameter (ansible_sudo_exe) to specify sudo command path.
10 years ago
Michael DeHaan
f35ed8a6c0
Update module test code to avoid pycs (that are not used)
10 years ago
Michael DeHaan
d6e6d2a6ca
Remove regex related to baby-JSON parsing only.
10 years ago
Michael DeHaan
26cdddaebf
Tracebacks are now catchable with ignore_errors and have streamlined output. Also removes 'baby-JSON' for bash modules.
10 years ago
James Cammarata
317ab06bc6
Fixing multiline parsing to preserve newlines
...
Fixes #8813
10 years ago
James Cammarata
8cc3543918
Re-allow templating of complex_args, but count params to prevent injection
...
Fixes #8810
10 years ago
Toshio Kuratomi
8233522a7a
Reduce commenting as basic.py is copied to the remote host with every module transfer.
...
Move some comments to the unittest as we might look at that if we decide
to refactor the code.
10 years ago
Toshio Kuratomi
d293a46994
Unittests to detect speed regressions in password obfuscation and that
...
the passwords are correctly hidden in the output.
10 years ago
Michael DeHaan
8a0045baad
Update tests for ansible-galaxy CLI additions.
10 years ago
Michael DeHaan
d87830e1cc
Merge branch 'galaxy_github_archive' of git://github.com/willthames/ansible into devel
...
Conflicts:
lib/ansible/utils/__init__.py
10 years ago
James Cammarata
d01188033f
Checking for localized versions of the su password prompt
...
Fixes #8681
10 years ago
Will Thames
850963790d
Allow roles to be installed from archives on github
...
Ensure that the automated scm determination for github.com
repos still copes with .tar.gz archive files.
Handling .zip archives is left as an exercise for the interested reader
10 years ago
Michael DeHaan
bcb44276fe
Assume github.com URLs are git protocol if not specified.
10 years ago
Will Thames
6e9abefc11
Corrected bug where role_path was wrong for roles in subdirectories
...
Fixed role name for
- { role: 'lives/in/a/subdirectory' }
Should be 'lives/in/a/subdirectory', not just 'subdirectory'
10 years ago
Will Thames
46b59b02ed
Friendly Role Names and roles from URLs
...
* Roles can now be given a friendly name as third field in role spec csv
* Roles can be installed from URL (not just from archived SCMs)
* Integration tests to demonstrate this
* Unit tests to ensure that role spec parsing works as expected
10 years ago
Will Thames
4803e923ff
Improved handling of role_version in repo_url_to_role_name
10 years ago
Will Thames
c2fe33f9f4
Tidied up a little, added tests
...
Moved repo_url_to_role_name to common method in ansible.utils
Added unit test for repo_url_to_role_name
Added integration tests for galaxy
10 years ago
James Cammarata
8a1fbed5d6
Correct variable blending from vars_files with hostvars in them
...
Fixes #8638
10 years ago
Michael DeHaan
99c39b1ff3
By popular request, make the no_log attribute also censor tasks from callbacks.
10 years ago
James Cammarata
5a128ca286
Adding extra member to mock inventory for unittests
10 years ago
Michael DeHaan
2629cd3fce
Fix some copyrights, fix a misc test.
10 years ago
James Cammarata
25e9d1197e
Merge branch 'optimise_utils_clean_data' of https://github.com/leth/ansible into leth-optimise_utils_clean_data
10 years ago
Marcus Cobden
e3dbca9378
Test escaping strings with two variables
10 years ago
Michael DeHaan
3bead39c75
Merge branch 'spelling' of git://github.com/cgar/ansible into devel
...
Conflicts:
docsite/rst/guide_rax.rst
plugins/callbacks/mail.py
10 years ago
James Cammarata
63bf2f6d9a
Preserve all line breaks in literal blocks
...
Fixes #8512
10 years ago
Michael DeHaan
8c4161d4a1
Merge branch 'retf_py' of git://github.com/berendt/ansible into devel
...
Conflicts:
lib/ansible/inventory/vars_plugins/group_vars.py
plugins/callbacks/mail.py
10 years ago
Michael Peters
3ba516ac25
adding min() and max() filters for use in Jinja templates
10 years ago
James Cammarata
af0d8cda7b
Fix literal block multiline parsing
...
Fixes #8394
10 years ago
James Cammarata
6d94ae64ec
Remove unnecessary unicode conversions from parse_kv
...
Fixes #8425
10 years ago
James Cammarata
e6fa50a306
Move splitter to module_utils so modules can use it and fix command arg splitting
...
Fixes #8338
10 years ago
James Cammarata
aee940aaca
Reworking _clean_data() to be smarter about replaces
...
Fixes #8228
10 years ago
James Cammarata
a8c2d6acd5
Adding unittest for space preservation within quotes when splitting args
10 years ago
James Cammarata
8f694c7588
Fixing unittests based on previous patch for splitting
10 years ago
Michael DeHaan
8d42f5cbfa
Smush ds removal
10 years ago
Michael DeHaan
eeb51b6bf3
Moar split_args tests
10 years ago
Michael DeHaan
630f080cf0
Start of unit tests for split_args function, moved split_args to utils since not needed by modules (so far).
10 years ago
James Cammarata
4e5eb7559e
Merge branch 'svg_and_inventory_refactor' into devel
10 years ago
Dan Slimmon
6ad09f1825
Added test for regex grouping bug fixed in 307a3e
10 years ago
James Cammarata
d8a7b49b59
Merge branch 'inventorytree' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-inventorytree
11 years ago
James Cammarata
32aa948dd0
Exclude ps1 modules from the TestModules unittest
...
Fixes #7864
11 years ago
James Cammarata
8ff0c0f253
Tweaking make_su_cmd test
...
Fixes #7652
11 years ago