Commit Graph

2660 Commits (bc6d454b5eb844a56b18b69cbf90c85f7f44ca58)
 

Author SHA1 Message Date
Michael DeHaan bc6d454b5e Enable imports to work on a snippet based system, allowing for instance a library of common EC2 functions
to be reused between modules.  See library/system/service and library/system/ping for initial examples.  Can
work the old way to just import 'basic', or can import the new way to import multiple pieces of code from
module_utils/.
11 years ago
jctanner 3c3392a2d9 Merge pull request #4167 from tima/rsync3
synchronization module take 3
11 years ago
James Tanner f27e2fd285 Fixes #4448 reloaded services should be started if not running 11 years ago
James Cammarata a220d7c18c Merge branch 'fix_autorized_keys' of https://github.com/mscherer/ansible into mscherer-fix_autorized_keys 11 years ago
James Cammarata 8fc62a1fb0 Fixing up authorized_keys to accept comments with spaces 11 years ago
Michael Scherer d53abc2d5e make sure that options are quoted, as people can add a shell
script there with a comma that would produce invalid configuration
upon being wrote again
11 years ago
Michael Scherer 2ad3a46e13 sort the option_key to have a constant predictable line 11 years ago
Michael Scherer 7afaeea131 adding a single comma at the end of the options list confuse the module
it start to duplicate line, because this create
a empty option in the list, and so the module add a new line along the previous
one. See

>>> ' a,b, '.strip().split(',')
['a', 'b', '']
11 years ago
jctanner ee4b3a1446 Merge pull request #4631 from mmoya/mysql_variables-fix3
Fail if requested variable is not available
11 years ago
jctanner 9c108efd47 Merge pull request #4624 from SirScott/freebsd_service_module_uwsgi
Fix broken FreeBsdService class
11 years ago
James Tanner 664c4839eb Set version_added for ec2_eip's in_vpc parameter 11 years ago
jctanner 4fbfa4706f Merge pull request #4593 from pas256/eip-vpc
Add VPC support for EIP module
11 years ago
James Tanner 14e2961268 Set bigip_pool_member version added to 1.4 11 years ago
James Tanner 740491e0ce Fixes #4500 change ec2 module params to type=bool
Revert 4833c2fdf0
11 years ago
jctanner 602e7483c2 Merge pull request #4112 from jsdalton/add_az_support_to_ec2_elb
Add enable_availability_zone parameter to ec2 module.
11 years ago
jctanner ff4ac6a3ad Merge pull request #4054 from mhite/bigip_pool_member
New bigip_pool_member module
11 years ago
Maykel Moya 6155bf2c55 Fail if requested variable is not available 11 years ago
Scott Sturdivant 037dcbb4da If the output of rcvar isn't a key=value pair, ignore it. 11 years ago
Michael DeHaan ce8b0944a9 Misc pep8 fixes 11 years ago
Michael DeHaan 91c34af12a Fix deprecation warnings in the Google modules. 11 years ago
Michael DeHaan c981999975 Merge pull request #4592 from mscherer/fix_4586
setup module, replace ':' by '_' in interface name, fix #4586
11 years ago
Jimmy Tang 858b3da2ae check for ubuntu distribution first 11 years ago
Michael DeHaan 26e2447b94 Merge pull request #4595 from mscherer/fix_4563
fix logic in module host to add aliases even if none exist already, fix #4563
11 years ago
Michael DeHaan f694ef315a Merge pull request #4594 from mscherer/fix_4587
fix distribution detection in apt_repository module, so it also work on mint as it work on Debian, partially fix #4587
11 years ago
Michael Scherer 4fb753997f fix logic in module host to add aliases even if none exist already, fix #4563
self._has_aliases is used to know if a alias already exist, but
the test we want is to know if we need to add a new alias, which
is stored in self.aliases
11 years ago
Michael Scherer ee62de7887 fix distribution detection in apt_repository module, so it also work
on Mint as it work on Debian, fix #4587.

PPAs are not supported however, since that's a Ubuntu specific feature
and mint is detected as a generic distribution and use a different
codename than the Ubuntu release it is based on, which mean that apt_repository
cannot add detect and add the proper url without a better heuristic.
11 years ago
Michael Scherer fa0d869ddd setup module, replace ':' by '_' in interface name, fix #4586 11 years ago
Peter Sankauskas 27fa111c4d Now this disassociates EIPs from instances inside a VPC correctly. Time
for a PR.
11 years ago
James Tanner 251b52bef8 Fixes #4454 Make a temporary clean cnf file if unable to parse existing 11 years ago
Peter Sankauskas 9f279618fe First round of changes to the EIP module to get it to be able to work well inside a VPC, and to be able to delete EIPs as well 11 years ago
jctanner 8e8d9bca37 Merge pull request #4562 from nimbis/devel
Adding aws_access_key and aws_secret_key aliases to ec2_group arguments
11 years ago
Brian Schott f775bea0b1 added aws_access_key and aws_secret_key aliases to ec2_group arguments 11 years ago
jctanner 6fc1c0a8a3 Merge pull request #4539 from sayap/git-sha1
git: Always return the before/after revisions, even in check mode.
11 years ago
Michael DeHaan 2e257c4ec4 Merge pull request #4568 from mmoya/features
Improve change detection in mysql_variables
11 years ago
James Tanner 54781bdfe1 Fixes #4554 Enumerate user homedir if not passed as an argument 11 years ago
Maykel Moya 2d33cf898c Improve change detection in mysql_variables
mysql_variables bindly executes a SET var = value query even when
the variable already has the requested value.

With this patch the query is executed only if the current value is
different to the requested one.
11 years ago
Michael DeHaan 2b20be94e0 Various standardization to the proposed gce_storage module to bring things in line with updates to the S3 module.
Some typo fixes.

Further testing required.
11 years ago
Michael DeHaan f8b4f59113 Merge pull request #4333 from bennojoy/gcs
support for google cloud storage module
11 years ago
Michael DeHaan 870bb4b1db Merge pull request #4395 from erjohnso/devel
adding Google Compute Engine modules and inventory plugin
11 years ago
Maykel Moya a96f75c396 Do key validation only when key is provided
key_id is optional, the previous code didn't handle the case of key_id
not specified
11 years ago
jctanner 6dedb68bde Merge pull request #4517 from adfinis-sygroup/devel
Remove keys regardless of the options
11 years ago
jctanner 9543169cca Merge pull request #4480 from joemaller/absent_path_fix
ignore src when file module state=absent
11 years ago
jctanner 94fac29bf7 Merge pull request #4428 from robparrott/devel
Properly handle DEFAULT section with ConfigParser in ini_file modules
11 years ago
James Tanner 798dba436a Fixes #4350 Create homedirectory if create=yes and directory is missing 11 years ago
Michael DeHaan 4127b5dbc9 Merge pull request #4544 from mmoya/features
apt_key: Validate key_id and accept a leading '0x'
11 years ago
Maykel Moya 5d41d2eaa4 apt_key: Validate key_id and accept a leading '0x' 11 years ago
Lorin Hochstein 87055995b9 s3: better check for walrus
Check for Walrus endpoint by looking to see if the endpoint is not AWS.

This fixes a bug where the user specifies an AWS endpoint via S3_URL,
but the code interprets it as Walrus and then fails.
11 years ago
James Tanner f233e29386 mysql_db: if connection is a socket, do not specify hostname 11 years ago
James Tanner 9128862b3b Fixes #4301 Use module_common functions for mysqldump and return better errors 11 years ago
Yap Sok Ann e568c63108 git: Don't add --branch while cloning if the version is a SHA-1 hash. 11 years ago