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/.
2013-10-26 11:09:30 -04:00
Christian Berendt
700969e8cb
fixed permissions of module library/cloud/ovirt
2013-10-26 09:05:21 +02:00
jctanner
3c3392a2d9
Merge pull request #4167 from tima/rsync3
...
synchronization module take 3
2013-10-25 14:43:08 -07:00
James Tanner
f27e2fd285
Fixes #4448 reloaded services should be started if not running
2013-10-25 15:30:02 -04:00
James Cammarata
a220d7c18c
Merge branch 'fix_autorized_keys' of https://github.com/mscherer/ansible into mscherer-fix_autorized_keys
2013-10-24 20:13:38 -05:00
James Cammarata
8fc62a1fb0
Fixing up authorized_keys to accept comments with spaces
2013-10-24 20:12:56 -05:00
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
2013-10-24 23:51:55 +02:00
Michael Scherer
2ad3a46e13
sort the option_key to have a constant predictable line
2013-10-24 23:47:34 +02:00
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', '']
2013-10-24 23:46:49 +02:00
jctanner
ee4b3a1446
Merge pull request #4631 from mmoya/mysql_variables-fix3
...
Fail if requested variable is not available
2013-10-24 10:37:37 -07:00
jctanner
9c108efd47
Merge pull request #4624 from SirScott/freebsd_service_module_uwsgi
...
Fix broken FreeBsdService class
2013-10-24 10:36:05 -07:00
James Tanner
664c4839eb
Set version_added for ec2_eip's in_vpc parameter
2013-10-24 12:19:43 -04:00
jctanner
4fbfa4706f
Merge pull request #4593 from pas256/eip-vpc
...
Add VPC support for EIP module
2013-10-24 10:22:43 -07:00
James Tanner
14e2961268
Set bigip_pool_member version added to 1.4
2013-10-24 11:41:34 -04:00
James Tanner
740491e0ce
Fixes #4500 change ec2 module params to type=bool
...
Revert 4833c2fdf0
2013-10-24 09:19:25 -04:00
Cove Schneider
729297bce8
update with current fixes from docker-ansible
2013-10-23 22:56:02 -07:00
Jon Kolb
0e2478e639
Fixes #3847 : lineinfile without regex
2013-10-23 21:04:18 -04:00
jctanner
602e7483c2
Merge pull request #4112 from jsdalton/add_az_support_to_ec2_elb
...
Add enable_availability_zone parameter to ec2 module.
2013-10-22 14:01:24 -07:00
jctanner
ff4ac6a3ad
Merge pull request #4054 from mhite/bigip_pool_member
...
New bigip_pool_member module
2013-10-22 13:55:41 -07:00
Dave Simons
1f86abcba6
fix conversion from file to hardlink when force=yes
...
Signed-off-by: Dave Simons <dave@inuits.eu>
2013-10-22 10:46:45 +02:00
Maykel Moya
6155bf2c55
Fail if requested variable is not available
2013-10-22 09:30:19 +02:00
bennojoy
a5b199e07b
fix to work like copy module
2013-10-22 09:03:52 +05:30
Scott Sturdivant
037dcbb4da
If the output of rcvar isn't a key=value pair, ignore it.
2013-10-21 14:20:54 -06:00
bennojoy
9e3f8670f7
fix for overwrite in put operation
2013-10-21 09:46:21 +05:30
Eugene Archibald
6599feac47
Fixed (broken) tab to (correct) spaces for indentation
2013-10-19 17:04:37 -07:00
Michael DeHaan
ce8b0944a9
Misc pep8 fixes
2013-10-19 13:03:15 -04:00
Michael DeHaan
91c34af12a
Fix deprecation warnings in the Google modules.
2013-10-19 13:03:14 -04:00
Michael DeHaan
c981999975
Merge pull request #4592 from mscherer/fix_4586
...
setup module, replace ':' by '_' in interface name, fix #4586
2013-10-19 09:07:56 -07:00
Jimmy Tang
858b3da2ae
check for ubuntu distribution first
2013-10-19 14:41:00 +01:00
Eugene Archibald
70c78eade0
Added ['date_time']['tz_offset'] using %z to get the time offset rather than time zone.
2013-10-18 20:32:35 -07:00
Patrick Michaud
c936bc67bb
Allow generic django_management commands
...
This commit removes the restriction on django management commands. If a command is unknown to the django installation, there will be a concise error produced.
for example:
tasks:
- name: invalid command
django_manage: virtualenv="/valid/virtualenv" app_path="/valid/app_path" command="nowaydude"
Results in:
failed: [hostname] => {"cmd": "python manage.py nowaydude", "failed": true}
msg: stdout: Unknown command: 'nowaydude'
Type 'manage.py help' for usage.
:stderr: Unknown django command: nowaydude
2013-10-18 17:26:10 -07:00
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
2013-10-18 17:09:23 -07:00
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
2013-10-18 17:08:35 -07:00
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
2013-10-19 01:51:42 +02:00
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.
2013-10-19 00:57:08 +02:00
Michael Scherer
fa0d869ddd
setup module, replace ':' by '_' in interface name, fix #4586
2013-10-19 00:24:07 +02:00
Peter Sankauskas
27fa111c4d
Now this disassociates EIPs from instances inside a VPC correctly. Time
...
for a PR.
2013-10-18 15:12:49 -07:00
James Tanner
251b52bef8
Fixes #4454 Make a temporary clean cnf file if unable to parse existing
2013-10-18 17:42:40 -04:00
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
2013-10-18 14:38:58 -07:00
jctanner
8e8d9bca37
Merge pull request #4562 from nimbis/devel
...
Adding aws_access_key and aws_secret_key aliases to ec2_group arguments
2013-10-18 06:17:50 -07:00
Brian Schott
f775bea0b1
added aws_access_key and aws_secret_key aliases to ec2_group arguments
2013-10-17 15:23:24 -04:00
jctanner
6fc1c0a8a3
Merge pull request #4539 from sayap/git-sha1
...
git: Always return the before/after revisions, even in check mode.
2013-10-17 11:36:03 -07:00
Michael DeHaan
2e257c4ec4
Merge pull request #4568 from mmoya/features
...
Improve change detection in mysql_variables
2013-10-17 10:51:36 -07:00
James Tanner
54781bdfe1
Fixes #4554 Enumerate user homedir if not passed as an argument
2013-10-17 13:15:32 -04:00
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.
2013-10-17 19:13:58 +02:00
Thomas Ronner
3b45cb366f
Fix illegal set operation in FreeBSD section of user module.
2013-10-17 15:02:23 +00:00
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.
2013-10-17 10:49:51 -04:00
Michael DeHaan
f8b4f59113
Merge pull request #4333 from bennojoy/gcs
...
support for google cloud storage module
2013-10-17 07:35:53 -07:00
Michael DeHaan
870bb4b1db
Merge pull request #4395 from erjohnso/devel
...
adding Google Compute Engine modules and inventory plugin
2013-10-17 07:30:55 -07:00
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
2013-10-17 12:04:04 +02:00