Commit Graph

11493 Commits (efb989a50cec69d0fbea79a571630f02eaae8fb1)
 

Author SHA1 Message Date
Monty Taylor efb989a50c Consume standard OpenStack environment settings
The OpenStack client utilities consume a set of input environment
variables for things like username and auth_url, so it's very
common for OpenStack users to have such settings set in their
environment. Indeed, things like devstack also output a shell file
to be sourced to set them. Although in a playbook it's entirely
expected that variables should be used to pass in system settings
like api passwords, for ad-hoc command line usage, needing to pass
in five parameters which are almost certainly in the environment
already reduces the utility.

Grab the environment variables and inject them as default. Special care
is taken to ensure that in the case where the values are not found, the
behavior of which parameters are required is not altered.
10 years ago
Michael DeHaan 4e6685d772 Merge pull request #8442 from Jmainguy/rpm_key_8424
Removed max 8192 bytes, fixes #8424
10 years ago
Jonathan Mainguy 150feb69d4 Removed max 8192 bytes, fixes #8424 10 years ago
Michael DeHaan 8646cc7988 Merge pull request #8440 from jsmartin/asg_docfix
Updated docs for health_check_type parameter.
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 Martin 3a15feec13 Updated docs for health_check_type parameter. 10 years ago
James Cammarata 74cbeb1292 Default interface type to ipv4 when checking flags for Solaris
Fixes #8330
10 years ago
Michael DeHaan bc2099b1ab Merge pull request #8402 from lukesneeringer/gce-inventory-envvars
Envirionment variable support in GCE inventory plugin.
10 years ago
Michael DeHaan ec8ff9ce42 Merge pull request #8415 from ebargtuo/patch-1
Fix a typo in gem module documentation
10 years ago
Michael DeHaan 542aa496fc Merge pull request #8409 from Jmainguy/hostname_8339
Fixes issue #8339 where Scientific Linux incorrectly tries to use Fedora...
10 years ago
James Cammarata bd49a835b4 Atomically move known hosts file into place when edited by paramiko connections
Fixes #8169
10 years ago
James Laska d202616213 Merge pull request #8426 from jlaska/update_integration_Makefile
Include unicode and var_precedence tests in 'all' target
10 years ago
James Laska b40f1ddc19 Require python-crypto >= 2.6 for debian package builds
The ansible PyPi package, and RPM both require crypto>=2.6.  This change
carries that dependency into the ansible DEB package.  Note, for
ubuntu-12.04, this dependency is only satisfied by a PPA.  Users
installing from 'ppa:ansible/ansible' will not be affected..
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
Michael DeHaan 07bb7e5a3b Revert ""allow_no_value=True" for ini_file module so /etc/my.cnf can be read without a problem"
This reverts commit cbdc9f1153.

Code needs to make allowances for particular python versions and try/except
around this block.
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
James Laska d4a78dc951 Include unicode and var_precedence tests in 'all' target 10 years ago
Michael DeHaan c5f92597e4 Add version_added attribute for regexp parameter. 10 years ago
ebargtuo 76aae48ea6 Fix a typo in gem module documentation 10 years ago
Jonathan Mainguy c0966eee7c Fixes issue #8339 where Scientific Linux incorrectly tries to use FedoraStrategy of hostnamectl 10 years ago
Michael DeHaan b9a5242f03 Merge pull request #8405 from wenottingham/patch-2
Update version.
10 years ago
Michael DeHaan d49f8c28df Merge pull request #8400 from nicocesar/devel
"allow_no_value=True" for ini_file module
10 years ago
Michael DeHaan a88dc7a26a Merge pull request #8398 from wrosario/integration_mysql_variables
Adding test Coverage for mysql_variable module
10 years ago
Michael DeHaan 78ee3b4a59 Merge pull request #8397 from lukesneeringer/gce-envvars
Add support for environment variables in GCE module.
10 years ago
Bill Nottingham 6e00f60427 Update version. 10 years ago
Luke Sneeringer f706eba4a5 Envirionment variable support in GCE inventory plugin. 10 years ago
Michael DeHaan 3e45791d05 Update our search code for the doc site. 10 years ago
Nico Cesar cbdc9f1153 "allow_no_value=True" for ini_file module so /etc/my.cnf can be read without a problem 10 years ago
Luke Sneeringer a4fce4818e Add support for environment variables in GCE module. 10 years ago
Wayne Rosario 2957a8de44 Adding test Coverage for mysql_variable module
Use mysql_variable to query, set and update variables.
Assert using user and password to query, set and update  variables.
Assert using single quotes, double quotes and no quotes  when using variables
10 years ago
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