Commit graph

2876 commits

Author SHA1 Message Date
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
Dylan Martin
bc2b826fc4 unarchive - mvd docs to top of file 2013-10-21 16:10:55 -05:00
Dylan Martin
d4a9e54f26 better docs 2013-10-21 15:30:22 -05:00
Dylan Martin
3420ffa94b unarchive module & action_plugin added 2013-10-21 15:22:42 -05:00
Scott Sturdivant
037dcbb4da If the output of rcvar isn't a key=value pair, ignore it. 2013-10-21 14:20:54 -06:00
Rene Moser
c2c0729f6e apt: autoinstall python-apt if not available 2013-10-21 16:39:18 +02:00
bennojoy
9e3f8670f7 fix for overwrite in put operation 2013-10-21 09:46:21 +05:30
Jim Dalton
fa0ab58a7e Availability zone should not be required 2013-10-20 16:20:36 -07:00
Eugene Archibald
6599feac47 Fixed (broken) tab to (correct) spaces for indentation 2013-10-19 17:04:37 -07:00
Jim Dalton
6bdeac6e1c Ensure port can be read for both memcached as well as redis 2013-10-19 12:29:07 -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
Jonathan Mainguy
ce583d4fcc Changed note describing this functionality was added in 1.4 to match what I have seen in other modules 2013-10-19 11:54:36 -04:00
Jonathan Mainguy
c82d062d08 Removed mysql_db entry, that needs to be in a seperate commit 2013-10-19 11:45:03 -04:00
Jonathan Mainguy
750d72fe79 Added all_databases option which works like all-databases optin in mysqldump, and works in import by not naming a database to import as 2013-10-19 11:17:31 -04: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