Monty Taylor
8938222029
Pass through nova region name
...
If the region name is specified in the config, we need to pass it
in to the nova client constructor. Since key_name is similarly optional,
go ahead and handle both parameters the same.
2014-08-02 17:15:15 -07:00
Monty Taylor
10a50b4a61
Split nova floating-ip pool logic
...
The desires around getting a floating ip associated with a pool and
getting a floating ip not associated with a pool is just different
enough that following it as one set of nested ifs is tricky. Split
the function into two, one for the pool and one for the non-pool logic.
2014-08-02 17:15:15 -07:00
CaptTofu
6da266f64c
Added floating IP functionality to nova_compute
2014-08-02 17:15:15 -07:00
Jonathan Mainguy
c0966eee7c
Fixes issue #8339 where Scientific Linux incorrectly tries to use FedoraStrategy of hostnamectl
2014-08-02 15:38:52 -04:00
Michael DeHaan
b9a5242f03
Merge pull request #8405 from wenottingham/patch-2
...
Update version.
2014-08-02 10:33:12 -04:00
Michael DeHaan
d49f8c28df
Merge pull request #8400 from nicocesar/devel
...
"allow_no_value=True" for ini_file module
2014-08-02 10:24:56 -04:00
Michael DeHaan
a88dc7a26a
Merge pull request #8398 from wrosario/integration_mysql_variables
...
Adding test Coverage for mysql_variable module
2014-08-02 10:24:16 -04:00
Michael DeHaan
78ee3b4a59
Merge pull request #8397 from lukesneeringer/gce-envvars
...
Add support for environment variables in GCE module.
2014-08-02 10:23:35 -04:00
Bill Nottingham
6e00f60427
Update version.
2014-08-01 19:43:54 -04:00
Luke Sneeringer
f706eba4a5
Envirionment variable support in GCE inventory plugin.
2014-08-01 16:12:57 -05:00
Michael DeHaan
3e45791d05
Update our search code for the doc site.
2014-08-01 17:10:39 -04:00
Nico Cesar
cbdc9f1153
"allow_no_value=True" for ini_file module so /etc/my.cnf can be read without a problem
2014-08-01 16:04:35 -04:00
Luke Sneeringer
a4fce4818e
Add support for environment variables in GCE module.
2014-08-01 11:44:58 -05:00
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
2014-08-01 12:15:05 -04:00
Michael DeHaan
27a73f2c11
Update vault docs to indicate the executable script option is part of Ansible 1.7.
2014-08-01 10:30:43 -04:00
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
2014-08-01 14:46:00 +02:00
Michael DeHaan
c93b89fa63
Merge pull request #8385 from lorin/doc-ec2-states
...
ec2 module: document valid states
2014-07-31 17:49:58 -04:00
Lorin Hochstein
42df1f890a
ec2 module: document valid states
2014-07-31 15:29:52 -06:00
James Cammarata
22f3f2b74a
Merge pull request #8174 from altruism/devel
...
Make ec2_group module not just fail
2014-07-31 15:02:30 -05:00
James Cammarata
745b28072a
Check for the numeric "all" value (-1) for the rule protocol
...
Fixes #7832
2014-07-31 14:01:44 -05:00
James Cammarata
1a90442f9b
Merge branch 'ingmar-ec2inv-rdstoggle' into devel
2014-07-31 13:39:13 -05:00
James Cammarata
0ae87cb725
Merge branch 'ec2inv-rdstoggle' of https://github.com/ingmar/ansible into ingmar-ec2inv-rdstoggle
...
Conflicts:
plugins/inventory/ec2.py
2014-07-31 13:38:54 -05:00
James Cammarata
c0455dc7d0
Merge branch 'cchurch-ec2_nested_groups' into devel
2014-07-31 13:08:54 -05:00
James Cammarata
5764015876
Merge branch 'ec2_nested_groups' of https://github.com/cchurch/ansible into cchurch-ec2_nested_groups
...
Conflicts:
plugins/inventory/ec2.py
2014-07-31 13:07:31 -05:00
Michael DeHaan
8ad296a6f2
Simply docs by providing the powershell setup script instead. Thanks Trond!!!
2014-07-31 13:42:12 -04:00
James Cammarata
c8d67912be
Merge branch 'debfx-patch-1' into devel
2014-07-31 11:54:36 -05:00
James Cammarata
9c1a89ff4e
Merge branch 'patch-1' of https://github.com/debfx/ansible into debfx-patch-1
2014-07-31 11:41:21 -05:00
James Cammarata
00ce87484b
Merge pull request #8363 from greenmoss/devel
...
Fix Docker image name parsing
2014-07-31 11:27:19 -05:00
James Cammarata
ccc4b00b40
Merge pull request #8045 from trondhindenes/script_configureWinRMforAnsible
...
Added script for configuring winrm for Ansible
2014-07-31 11:21:21 -05:00
James Cammarata
74068bc50f
Merge pull request #8189 from bcoca/vmware_inv_env
...
vmware inventory fixes and features
2014-07-31 11:16:52 -05:00
James Cammarata
ac67351d0d
Merge pull request #8366 from jlaska/azure_fixes
...
Several azure fixes
2014-07-30 15:31:55 -05:00
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
2014-07-30 16:28:13 -04:00
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
2014-07-30 16:07:50 -04:00
Michael DeHaan
d727b79314
Merge pull request #8365 from thisdavejohnson/devel
...
Parameters to disable_rollback are "true" or "false"
2014-07-30 15:53:59 -04:00
Dave Johnson
76c925c22a
Parameters to disable_rollback are "true" or "false"
2014-07-30 15:48:30 -04:00
James Cammarata
7a5076c8b8
Catching shlex splitting error in fact gathering get_cmdline call
...
Fixes #8352
2014-07-30 14:47:50 -05:00
James Cammarata
80df2135e9
Fix parsing of tasks with variable module names
...
Also adding an integration test for same.
2014-07-30 14:18:06 -05:00
Kurt Yoder
8ee6906885
Fix Docker image name parsing
...
Fixes #8357
2014-07-30 14:33:01 -04:00
James Cammarata
189824dd76
Remove whitespace around args
...
Fixes #8343
2014-07-30 08:51:27 -05:00
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
2014-07-30 15:15:49 +02:00
Michael DeHaan
f61ba3d047
Merge pull request #8283 from ps-jay/sys_mount_fstype_doc
...
Add fstype arg to the mount examples
2014-07-30 08:28:59 -04:00
James Cammarata
b3d441d2c9
Merge branch 'wrosario-integration_mysql_user' into devel
2014-07-29 15:58:18 -05:00
James Cammarata
730e23fa07
Merge branch 'integration_mysql_user' of https://github.com/wrosario/ansible into wrosario-integration_mysql_user
2014-07-29 15:55:57 -05:00
James Cammarata
e6fa50a306
Move splitter to module_utils so modules can use it and fix command arg splitting
...
Fixes #8338
2014-07-29 14:55:16 -05:00
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
2014-07-29 11:58:32 -05:00
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.
2014-07-29 11:49:53 -04:00
James Cammarata
b64a5ff73d
Further enhancements for include params tests
2014-07-29 10:43:37 -05:00
James Cammarata
c9bfcf40d3
Adding further integration tests for include params with quotes
2014-07-29 10:03:44 -05:00
RomanDolejsi
fcf7f03398
file: prevent replace failure when overwriting empty directory with hard/link (force=yes)
2014-07-29 10:46:32 +02:00
James Cammarata
a9f0f8e975
Revert "template.py: Handle purposely raised exceptions in lookup()"
...
This reverts commit 2fda9bc743
.
2014-07-28 23:25:37 -05:00