Commit graph

2988 commits

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/.
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
Serge van Ginderachter
f6442cda34 clean up comments to show monitor specific code 2013-10-25 22:47:35 +02: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
Serge van Ginderachter
2bc9f5eff0 update version added and add examples 2013-10-21 20:57:22 +02:00
Serge van Ginderachter
7ae16aec57 add missing defaults 2013-10-21 20:36:25 +02:00
Serge van Ginderachter
1fd91c272a improve logic in setting parameters in check mode (monitor might not exist) 2013-10-21 20:36:25 +02:00
Serge van Ginderachter
62d7b1a62f do not overwrite properties with defaults 2013-10-21 20:36:25 +02:00
Serge van Ginderachter
f8e40583f2 improve changed result for race conditions 2013-10-21 20:36:25 +02:00
Serge van Ginderachter
5e0fd019b8 adds receive_disable and time_until_up and some bugfixes 2013-10-21 20:36:25 +02:00
Serge van Ginderachter
2e5ab21c39 bigip_monitor_http: add support for hardcoded properties 2013-10-21 20:36:25 +02:00
Serge van Ginderachter
24b8e7585b some fixes and cleanup per feedback from Matt Hite 2013-10-21 20:36:25 +02:00
Serge van Ginderachter
73cda36c70 initial beta version of bigip_monitor_http module 2013-10-21 20:36:25 +02: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