Serge van Ginderachter
961d4b0d6c
execute the mount after path validation
...
This avoids a stale situation where name/path contains some impossible path,
but gets configured (faultly) in fstab, and the module only fails after that,
when creating that path.
2014-08-06 10:52:08 +02:00
Michael DeHaan
f0ae6204e4
Merge pull request #8455 from nicocesar/version_check
...
if python >=2.7 use the option allow_no_value=True for ini_file.
2014-08-05 21:00:37 -04:00
Michael DeHaan
f228e0bff4
Some stray doc tweaks with file modules.
2014-08-05 20:45:16 -04:00
Michael DeHaan
d78e16ff36
Move doc fragments back into file module.
2014-08-05 20:45:16 -04:00
James Cammarata
18059b39d7
Merge branch 'asg_update' of https://github.com/jsmartin/ansible into jsmartin-asg_update
2014-08-05 10:20:29 -05:00
Nico Cesar
31b34906d0
if python >=2.7 use the option allow_no_value=True for ini_file.
2014-08-05 10:56:20 -04:00
James Cammarata
6ff1d10e5f
Merge branch 'fix_eip_regression' of https://github.com/jsmartin/ansible into jsmartin-fix_eip_regression
2014-08-04 22:48:46 -05:00
Jonathan Mainguy
e7cbbd8b73
Removed max 8192 bytes, fixes #8424
2014-08-04 20:55:49 -04:00
James Martin
10011b361b
Updated docs for health_check_type parameter.
2014-08-04 13:25:41 -07:00
James Martin
6f5eff0c5a
Fixes a regression in 1453f7b013
that would causes unecessary wait_timeouts in certain module operations when a given IP address could not be found. Now wait_timeouts are only active during address associations of newly provisioned EIPs.
...
Cleanup and comment of main().
s Added wait timeout.
2014-08-04 12:21:28 -07:00
Michael DeHaan
4a9387f976
Merge pull request #8415 from ebargtuo/patch-1
...
Fix a typo in gem module documentation
2014-08-04 14:22:30 -04:00
Michael DeHaan
43fb9e31ec
Merge pull request #8409 from Jmainguy/hostname_8339
...
Fixes issue #8339 where Scientific Linux incorrectly tries to use Fedora...
2014-08-04 14:14:22 -04:00
Michael DeHaan
04568cd767
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.
2014-08-04 11:49:55 -04:00
Michael DeHaan
c05a5eba58
Add version_added attribute for regexp parameter.
2014-08-04 07:51:29 -04:00
ebargtuo
e6090d2f9e
Fix a typo in gem module documentation
2014-08-03 14:52:24 +02:00
Jonathan Mainguy
650003dd5c
Fixes issue #8339 where Scientific Linux incorrectly tries to use FedoraStrategy of hostnamectl
2014-08-02 15:38:52 -04:00
Nico Cesar
eeabda4831
"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
Lorin Hochstein
6597d005ae
ec2 module: document valid states
2014-07-31 15:29:52 -06:00
James Cammarata
8ba03a7f05
Merge pull request #8174 from altruism/devel
...
Make ec2_group module not just fail
2014-07-31 15:02:30 -05:00
James Cammarata
97f5174c09
Check for the numeric "all" value (-1) for the rule protocol
...
Fixes #7832
2014-07-31 14:01:44 -05:00
James Cammarata
5cb682b3b0
Merge pull request #8363 from greenmoss/devel
...
Fix Docker image name parsing
2014-07-31 11:27:19 -05:00
James Cammarata
5921be3ff2
Merge pull request #8045 from trondhindenes/script_configureWinRMforAnsible
...
Added script for configuring winrm for Ansible
2014-07-31 11:21:21 -05:00
James Laska
ff401c41c6
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
a6da95ec7e
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
Dave Johnson
ceedb76f25
Parameters to disable_rollback are "true" or "false"
2014-07-30 15:48:30 -04:00
Kurt Yoder
2f74c0bade
Fix Docker image name parsing
...
Fixes #8357
2014-07-30 14:33:01 -04:00
Damjan Georgievski
2b5c73054d
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
e978dcf7eb
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
0bace505f7
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
0963d4aee4
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
Wayne Rosario
7cfef577a1
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
RomanDolejsi
7cd6d6fb89
file: prevent replace failure when overwriting empty directory with hard/link (force=yes)
2014-07-29 10:46:32 +02:00
Michael DeHaan
fe7d092f0b
Merge pull request #8313 from sivel/issue/8250
...
Make sure to assign pyrax.cloudservers to cs. Fixes #8250
2014-07-28 15:48:51 -04:00
Michael DeHaan
bc01f2571e
Merge pull request #8311 from neersighted/wrap_distroversion
...
Wrap get_distribution_version() in the hostname module
2014-07-28 15:48:18 -04:00
Matt Martz
938d5f210e
Make sure to assign pyrax.cloudservers to cs. Fixes #8250
2014-07-28 12:44:42 -05:00
Michael DeHaan
2212b64fd9
Cleaning up explanation of mount module states.
2014-07-28 12:18:45 -04:00
Bjorn Neergaard
cbc417ca1b
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.
2014-07-28 11:16:30 -05:00
Michael DeHaan
99ad691950
Merge branch 'ufw' of git://github.com/Trozz/ansible into devel
2014-07-28 12:08:29 -04:00
Michael DeHaan
03c46f016a
Update unarchive example.
2014-07-28 12:07:31 -04:00
Michael DeHaan
0697bbd6dd
Merge pull request #8200 from geetotes/devel
...
[Docs] Added another example to demonstrate unarchive module working entirely on a remote machine
2014-07-28 12:04:33 -04:00
Michael DeHaan
6ea9995ba5
Merge pull request #8244 from wrosario/mysql_user_doc
...
Update mysql_user doc and example
2014-07-28 12:03:15 -04:00
Michael DeHaan
f03d4e5bc7
Merge pull request #7949 from hacosta/apt_key
...
Check at most 16 characters of the key. Fixes #7936
2014-07-28 11:30:27 -04:00
Michael DeHaan
caba7ac6a6
Merge pull request #7954 from alimony/patch-3
...
cron module: Use correct parameter name in error message.
2014-07-28 11:29:05 -04:00
Michael DeHaan
00c0603bc7
Merge pull request #8068 from trondhindenes/win_feature_improvements
...
Updates to the parameters of win_feature
2014-07-28 11:25:41 -04:00
Michael DeHaan
634952d15b
Merge pull request #7969 from dedalusj/devel
...
Fixed bug with environment path for homebrew_cask
2014-07-28 10:49:04 -04:00
Michael DeHaan
0221727050
Merge pull request #7968 from bcoca/acl_fix_compare
...
acl module: now compares permissions correctly
2014-07-28 10:47:38 -04:00
James Cammarata
03f0d6bec8
Merge pull request #8308 from robinro/extend-hostname-distrolist
...
Extended distributions list for hostname module
2014-07-28 09:12:59 -05:00
Robin Roth
7920f4eaf5
Fix extra newline at end of hostname for Fedora
...
This fixes a bug introduced by 138b45e3
.
The hostname has an additional newline at the end which leads to the
state always being 'changed: true' even if the hostname is unchanged.
2014-07-28 15:22:10 +02:00
Robin Roth
a26bc9c926
Extended distributions list for hostname module
...
Implementations already present
2014-07-28 15:19:41 +02:00
James Laska
9561cbcc8d
Correct BotoServerError typo in ec2 module
...
Resolves a traceback due to an undefined 'BotoSeverError' exception.
2014-07-26 12:11:25 -04:00