Michael DeHaan
27a73f2c11
Update vault docs to indicate the executable script option is part of Ansible 1.7.
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
Michael DeHaan
c93b89fa63
Merge pull request #8385 from lorin/doc-ec2-states
...
ec2 module: document valid states
10 years ago
Lorin Hochstein
42df1f890a
ec2 module: document valid states
10 years ago
James Cammarata
22f3f2b74a
Merge pull request #8174 from altruism/devel
...
Make ec2_group module not just fail
10 years ago
James Cammarata
745b28072a
Check for the numeric "all" value (-1) for the rule protocol
...
Fixes #7832
10 years ago
James Cammarata
1a90442f9b
Merge branch 'ingmar-ec2inv-rdstoggle' into devel
10 years ago
James Cammarata
0ae87cb725
Merge branch 'ec2inv-rdstoggle' of https://github.com/ingmar/ansible into ingmar-ec2inv-rdstoggle
...
Conflicts:
plugins/inventory/ec2.py
10 years ago
James Cammarata
c0455dc7d0
Merge branch 'cchurch-ec2_nested_groups' into devel
10 years ago
James Cammarata
5764015876
Merge branch 'ec2_nested_groups' of https://github.com/cchurch/ansible into cchurch-ec2_nested_groups
...
Conflicts:
plugins/inventory/ec2.py
10 years ago
Michael DeHaan
8ad296a6f2
Simply docs by providing the powershell setup script instead. Thanks Trond!!!
10 years ago
James Cammarata
c8d67912be
Merge branch 'debfx-patch-1' into devel
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
00ce87484b
Merge pull request #8363 from greenmoss/devel
...
Fix Docker image name parsing
10 years ago
James Cammarata
ccc4b00b40
Merge pull request #8045 from trondhindenes/script_configureWinRMforAnsible
...
Added script for configuring winrm for Ansible
10 years ago
James Cammarata
74068bc50f
Merge pull request #8189 from bcoca/vmware_inv_env
...
vmware inventory fixes and features
10 years ago
James Cammarata
ac67351d0d
Merge pull request #8366 from jlaska/azure_fixes
...
Several azure fixes
10 years ago
James Laska
7288a6095b
Several azure fixes
...
Several azure fixes/improvements, including:
* Improve failure message when python-azure is not installed
* Improve required argument handling
* Fixes a traceback on instance termination when the variable
'deployment' was not set.
* Fixes a traceback (#8298 ) when creating instances using the newer SDK
10 years ago
Michael DeHaan
19bf388a17
Merge pull request #8353 from gdamjan/ec2-running-return-info
...
return the most up-to-date info about an instance when starting/stopping it
10 years ago
Michael DeHaan
d727b79314
Merge pull request #8365 from thisdavejohnson/devel
...
Parameters to disable_rollback are "true" or "false"
10 years ago
Dave Johnson
76c925c22a
Parameters to disable_rollback are "true" or "false"
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
Kurt Yoder
8ee6906885
Fix Docker image name parsing
...
Fixes #8357
10 years ago
James Cammarata
189824dd76
Remove whitespace around args
...
Fixes #8343
10 years ago
Damjan Georgievski
16e5b1b9e6
return the most up-to-date info about an instance when starting/stopping it
...
otherwise the module will return the info about the instance that it got prior to the action taken
So if you had a task to start an instance:
ec2:
instance_ids: ...
state: running
register: ec2_info
the registered data would have empty public_dns_name, public_ip, private_dns_name, private_ip
10 years ago
Michael DeHaan
f61ba3d047
Merge pull request #8283 from ps-jay/sys_mount_fstype_doc
...
Add fstype arg to the mount examples
10 years ago
James Cammarata
b3d441d2c9
Merge branch 'wrosario-integration_mysql_user' into devel
10 years ago
James Cammarata
730e23fa07
Merge branch 'integration_mysql_user' of https://github.com/wrosario/ansible into wrosario-integration_mysql_user
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
912674bd2b
Merge pull request #8329 from rdolejsi/devel
...
file: prevent replace failure when overwriting empty directory with hard or soft link on force=yes
10 years ago
Wayne Rosario
eaf4571e42
Adding the following Test Coverage:
...
Use mysql_user module to create, delete users.
Update user password and ensure new password was updated for the correct user.
Assert user has access to multiple databases
Assert user creation, deleting using different user privilege and ensure privilege work correctly.
10 years ago
James Cammarata
b64a5ff73d
Further enhancements for include params tests
10 years ago
James Cammarata
c9bfcf40d3
Adding further integration tests for include params with quotes
10 years ago
RomanDolejsi
fcf7f03398
file: prevent replace failure when overwriting empty directory with hard/link (force=yes)
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
f948a94f51
Merge pull request #8313 from sivel/issue/8250
...
Make sure to assign pyrax.cloudservers to cs. Fixes #8250
10 years ago
Michael DeHaan
6300ded89c
Merge pull request #8311 from neersighted/wrap_distroversion
...
Wrap get_distribution_version() in the hostname module
10 years ago
Michael DeHaan
97fa9502aa
Merge pull request #8309 from veeti/cfg-vars
...
Expand variables in configuration files
10 years ago
Matt Martz
571f343e7d
Make sure to assign pyrax.cloudservers to cs. Fixes #8250
10 years ago
Michael DeHaan
226dacc7e6
Cleaning up explanation of mount module states.
10 years ago
Bjorn Neergaard
adcdbdf894
Wrap get_distribution_version() in the hostname module
...
We wrap get_distribution_version() with a new function,
_get_distribution_version(), that returns `0` when the result is a string or
`None`.
This accounts for the case when get_distribution_version() returns a string,
and we try to compare it to a float. We do this in the hostname module instead
of the module snippets because other modules may want the real string
version.module snippets because other modules may want the real string version.
10 years ago
Michael DeHaan
5a2fd5c612
Ignore powershell implementation files with ansible-doc as documentation lives in Python stubs.
10 years ago
Michael DeHaan
b69f096e8a
Merge branch 'ufw' of git://github.com/Trozz/ansible into devel
10 years ago
Michael DeHaan
726a1a33e0
Update unarchive example.
10 years ago
Michael DeHaan
f412d341e3
Merge pull request #8200 from geetotes/devel
...
[Docs] Added another example to demonstrate unarchive module working entirely on a remote machine
10 years ago
Michael DeHaan
c8d3c0c654
Merge pull request #8244 from wrosario/mysql_user_doc
...
Update mysql_user doc and example
10 years ago