James Cammarata
38123579fb
Catch task parameter splitting errors nicely
...
Fixes #8481
10 years ago
James Cammarata
da08e62017
Correct parser to ignore escaped quotes when not in quotes already
...
Related to #8481
10 years ago
Marcus Cobden
bb1ca99db7
Pre-load whole string and use seek to alter tags
10 years ago
Marcus Cobden
27223b1253
Switch cStringIO to StringIO for unicode support
...
The performance difference isn't too bad
10 years ago
Marcus Cobden
08c968a999
Fix copy/paste error
10 years ago
Marcus Cobden
f0270bb289
Optimise string handling in ansible.utils._clean_data
10 years ago
James Cammarata
3cf0f27f7b
Preserve all line breaks in literal blocks
...
Fixes #8512
10 years ago
Serge van Ginderachter
7f5bf63a9b
InventoryDir: fixing yet another corner case
10 years ago
James Cammarata
ba82d3e423
Fix missing variable initialization for async jid
...
Fixes #8491
10 years ago
James Cammarata
adcd53c67e
Make sure default vars are used in template calls for tasks
...
Fixes #8499
10 years ago
James Cammarata
a77674145f
Catch auth errors in winrm and properly raise errors
...
Fixes #7875
10 years ago
Jonathan Mainguy
3121008475
Fixes 8362, returns stderr if No space left on device
10 years ago
Stefan Lapers
edb08b56fc
fix incorrect secondary ip handling, fixes #7724
10 years ago
James Cammarata
2912793087
Removing leftover import of atomic_move
10 years ago
James Cammarata
9b5619d741
Revert "Atomically move known hosts file into place when edited by paramiko connections"
...
This reverts commit bd49a835b4
.
10 years ago
James Cammarata
650e967b30
Avoid templating raw lookup strings
10 years ago
Michael DeHaan
1c6398dd3b
Resolve option conflict differently.
10 years ago
Michael DeHaan
b4b115cd13
File common arguments should not be used in all docs pages.
10 years ago
Michael DeHaan
4312391e0a
(A) Fix a bug in the doc generator that was clobbering the force parameter for the copy module.
...
(B) This is a work in progress but the idea is to have text snippets where we can respond to tickets with a bit more helpful info.
Not active just yet.
10 years ago
James Cammarata
dc69510bff
Merge branch 'callback_template_delegate' of https://github.com/sergevanginderachter/ansible into sergevanginderachter-callback_template_delegate
10 years ago
James Cammarata
eeec459f8a
Merge branch 'sets_v2' of https://github.com/bcoca/ansible into bcoca-sets_v2
10 years ago
Serge van Ginderachter
8f39c114d8
template Runner.module_vars['delegate_to'] to accommodate callbacks
10 years ago
James Cammarata
5d0bb33ede
Make run_command process communication smarter
...
The run_command module function will now poll stdout/stderr for
data rather than using the builtin command communicate(), which can
hang under certain circumstances.
Fixes #7452
Fixes #7748
Fixes #8163
10 years ago
James Cammarata
74cbeb1292
Default interface type to ipv4 when checking flags for Solaris
...
Fixes #8330
10 years ago
James Cammarata
bd49a835b4
Atomically move known hosts file into place when edited by paramiko connections
...
Fixes #8169
10 years ago
Michael DeHaan
7ff63ab754
Revert "Use atomic move function on known host file in paramiko to prevent rare occurance of Control-C"
...
This reverts commit 642b183fb6
.
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
Michael DeHaan
642b183fb6
Use atomic move function on known host file in paramiko to prevent rare occurance of Control-C
...
during file operations.
10 years ago
Michael DeHaan
a7d2e729f8
Add some whitespace to make paramiko_ssh more browseable
10 years ago
Michael DeHaan
24f6f656cc
Merge branch 'bug8392' of git://github.com/gnosek/ansible into devel
10 years ago
Luke Sneeringer
a4fce4818e
Add support for environment variables in GCE module.
10 years ago
Grzegorz Nosek
7f33580eba
Fix exponential regex performance issue
...
filter_leading_non_json_lines effectively does
re.match(".*\w+=\w+.*", line)
for every line of output. This has abysmal performance in case of large
Base64-encoded data (which ultimately does not match the regex but does
match the .*\w+= part) as returned e.g. by the template module (diffs).
Replacing the match with
re.search("\w=\w", line)
drops the complexity back to linear, and actually usable with large
diffs from the template module (a 150 KB Base64 diff kept Ansible
spinning at 100% cpu for minutes).
Also, check the easy cases (line.startswith) first while we're here.
Closes : #8932
10 years ago
James Cammarata
9c1a89ff4e
Merge branch 'patch-1' of https://github.com/debfx/ansible into debfx-patch-1
10 years ago
James Cammarata
7a5076c8b8
Catching shlex splitting error in fact gathering get_cmdline call
...
Fixes #8352
10 years ago
James Cammarata
80df2135e9
Fix parsing of tasks with variable module names
...
Also adding an integration test for same.
10 years ago
James Cammarata
189824dd76
Remove whitespace around args
...
Fixes #8343
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
a9f0f8e975
Revert "template.py: Handle purposely raised exceptions in lookup()"
...
This reverts commit 2fda9bc743
.
10 years ago
James Cammarata
aee940aaca
Reworking _clean_data() to be smarter about replaces
...
Fixes #8228
10 years ago
James Cammarata
6e814566de
Unquote params passed to an include statement
...
Fixes #8315
10 years ago
Michael DeHaan
106f4ccc01
Revert "Expand variables in configuration files" - I feel I've been here before.
...
Breaks some test runs.
This reverts commit a9eef029b6
.
10 years ago
Michael DeHaan
97fa9502aa
Merge pull request #8309 from veeti/cfg-vars
...
Expand variables in configuration files
10 years ago
Michael DeHaan
645ab7baff
Merge pull request #7950 from mesk41in/devel
...
Fix unsupported regexp parameter in assemble
10 years ago
Michael DeHaan
fb60e767a7
Taking alternate approach.
...
Revert "Fix hostname when get_distribution_version() returns a string."
This reverts commit 08f97c0b9d
.
10 years ago
Michael DeHaan
628d828876
Merge pull request #8087 from neersighted/string_version
...
Fix hostname when get_distribution_version() returns a string.
10 years ago
Michael DeHaan
30e6a659ae
Merge pull request #8171 from jbenden/osx-10.10
...
Support for OS X 10.10 DP3.
10 years ago
Michael DeHaan
20f65f2c79
Merge pull request #8262 from icoloma/patch-1
...
Bugfix: bulletproof unexpected_error_msg at gce.py
10 years ago
Veeti Paananen
a9eef029b6
Expand variables in configuration files
...
e.g. $HOME. Fixes #6373 .
10 years ago
Nacho Coloma
979824eedc
Moved import to the top
10 years ago