Commit graph

6343 commits

Author SHA1 Message Date
Toshio Kuratomi
75790b6ebb Merge pull request #1314 from fdupoux/mysql-db-support-for-xz-compression
Add support for xz compression (for dump and import) in mysql_db module
2015-05-15 08:12:50 -07:00
Brian Coca
e1f68b7f33 Merge pull request #1323 from feanil/feanil/vpc_igw
Tell me what the igw id is if we created an igw.
2015-05-15 10:12:56 -04:00
Feanil Patel
77ca3c1148 Output the Internet Gatewoy id directly instead of in a dict. 2015-05-15 09:40:30 -04:00
Benno Joy
1c418805d9 Merge pull request #673 from mschurenko/ec2_elb_lb_add_stickiness
adding stickiness support to ec2_elb_lb.py
2015-05-15 15:01:11 +05:30
Benno Joy
dee65f83af Merge pull request #1212 from zimbatm/ec2_group-name_priority
ec2_group: select own group if the name matches
2015-05-15 14:47:10 +05:30
Semyon Deviatkin
4e22a8039c Fix unused variable systemd_enabled
Removed declared but unused variable systemd_enabled
2015-05-15 11:36:04 +03:00
Matt Schurenko
08155f145e adding stickiness support to ec2_elb_lb.py
removing policy if enabled is no

adding sanity checks

removing debuging

check if policy exists before deleting

updating version_added to 2.0

adding stickiness support to ec2_elb_lb.py (squashed commit)
2015-05-14 22:30:45 -07:00
Toshio Kuratomi
b307f7bcba Fix problem writing binary content to a temporary file in the uri module.
Fixes https://github.com/ansible/ansible/issues/10938
Fixes https://github.com/ansible/ansible/issues/7606
2015-05-14 14:19:15 -07:00
Matt Martz
68c3068940 Merge pull request #1325 from sivel/travis-26
Specify that travis should use python2.6
2015-05-14 11:09:56 -05:00
Matt Martz
010cf3b7ad Specify that travis should use python2.6 2015-05-14 11:07:16 -05:00
Benno Joy
d8b9c1f440 Merge pull request #1206 from mjfroehlich/ec2-support-mfa-auth
ec2: Use get_aws_connection_info to get AWS creds.
2015-05-14 17:46:29 +05:30
Brian Coca
137b7e02e7 Merge pull request #1326 from bennojoy/issue_1197
Fixes issue 1197 for s3 module, where the file gets downloaded even i…
2015-05-13 23:59:17 -04:00
Benno Joy
ed62de6d3c Fixes issue 1197 for s3 module, where the file gets downloaded even if checksums match 2015-05-14 09:03:50 +05:30
Benno Joy
9d9d8def6f fixe issue #600, where ec2 module returns instance state as runing even after instance is terminated 2015-05-14 08:29:11 +05:30
Feanil Patel
0e213e985b Tell me what the igw id is if we created an igw. 2015-05-13 17:12:41 -04:00
Brian Coca
74351490f7 doc fix 2015-05-13 15:58:07 -04:00
Brian Coca
d501f50c7b fixed try/except/finally to be 2.4 compatible 2015-05-13 15:52:37 -04:00
Benno Joy
8ab439498c Merge pull request #1316 from wimnat/feature/issue-444
Added postgresql-license type. Fixes issue 444
2015-05-13 16:45:16 +05:30
whiter
da93950fe5 Added postgresql-license type 2015-05-13 16:16:41 +10:00
fdupoux
51ffbda9a1 Add support for xz compression (for dump and import) in mysql_db module 2015-05-12 22:28:18 +01:00
Toshio Kuratomi
ed6b95a0bb Merge pull request #45 from Jmainguy/mysql_db_alldatabases
Adds name=all which allows a user to dump or import all data...
2015-05-12 13:42:12 -07:00
Jonathan Mainguy
f0af9b9ed5 Adds all_databases option which allows a user to dump or import all databases at once, identical to mysqldump --all-databases
fix line 132

Update to name=all

cleaned up all_database per abadger's suggestions
2015-05-12 16:35:38 -04:00
Toshio Kuratomi
030c0e95d6 Merge pull request #1310 from h1ppo/patch-1
update flat description
2015-05-12 10:45:05 -07:00
Matt Martz
760b39fb60 Merge pull request #1311 from sivel/py27-compileall
Add py27 compileall to test all modules
2015-05-12 10:55:17 -05:00
Matt Martz
06171c4590 Add py27 compileall to test all modules, specifically for syntax errors 2015-05-12 10:43:36 -05:00
James Cammarata
576ca33bdc Fixing digital_ocean documentation and a bug in os_subnet 2015-05-12 10:32:43 -05:00
Brian Coca
52626b4da9 Merge pull request #1309 from aioue/patch-1
Update uri.py
2015-05-12 08:37:58 -04:00
Jason Paige
72e5e3a17a update flat description
default behavior is to append the `hostname/path/to/file`, not prepend as currently stated by the flat arg docs
2015-05-12 12:56:37 +01:00
Tom Paine
97b64abf75 Update uri.py
Move choices from description to choices field.
2015-05-12 12:29:00 +01:00
Benno Joy
88509fdb27 Merge pull request #729 from PugglePay/ec2_vol_find_or_create
[ec2_vol] Find or Create volume by name
2015-05-12 12:32:10 +05:30
Jell
6b27cdc08e [ec2_vol] Find or Create volume by name 2015-05-12 07:06:37 +02:00
Brian Coca
20abd5cf68 Merge pull request #1305 from bcoca/unarchive_max_tb_fix
generic fix for Exceptions that happen when trying to set permissions
2015-05-11 22:46:10 -04:00
Toshio Kuratomi
1f99382dfb Finish up cleanups to modules:
* Add python>= 2.6 to documented requirements when a module's deps need
  python>= 2.6 so we know when a module can use python2.6+ syntax
* Remove BabyJSON usage
* Change modules to use if __name__ == '__main__' so that they can
  potentially be unittested

The BabJSON changes Fixes #1211
2015-05-11 13:21:17 -07:00
Toshio Kuratomi
60a66a544d Several cleanups to many modules:
* Fix docs to specify when python2.6+ is required (due to a library
  dep).  This helps us know when it is okay to use python2.6+ syntax in
  the file.
* remove BabyJson returns.  See #1211  This commit fixes all but the
  openstack modules.
* Use if __name__ == '__main__' to only run the main part of the module
  if the module is run as a program.  This allows for the potential to
  unittest the code later.
2015-05-11 12:15:53 -07:00
Toshio Kuratomi
c8d099a50c Run python2.4 compat tests on a pair of amazon modules that do not use boto 2015-05-11 12:15:11 -07:00
Brian Coca
9a2e64b76d generic fix for Exceptions that heppen when trying to set permissions on extracted files
fixes ansible/ansible#10934 which is really a corner case
2015-05-11 13:18:05 -04:00
Toshio Kuratomi
36891d8273 Merge pull request #1296 from sivel/py24-fixes
Fix up modules that have python24 syntax error
2015-05-11 09:06:51 -07:00
Matt Martz
7ca732830f Python2.4 fixes
* Ignore accelerate.py
* Don't use a lambda or a ternary
2015-05-11 11:04:44 -05:00
Brian Coca
00ee4f8da9 Merge pull request #1299 from nathanielks/patch-1
Update set_fact.py
2015-05-11 12:02:45 -04:00
Nathaniel
5aae7f3e51 Update set_fact.py
Context: I recently discovered that when setting a fact, key=value pairs and complex arguments differ in how the fact is stored. For example, when attempting to use complex arguments using key=values, the result can be stored as a unicode string as opposed to an object/list/etc.

I'm hoping the above example update will better demonstrate to and instruct people to use complex arguments instead of key=value pairs in certain situations.
2015-05-09 15:51:17 -05:00
Toshio Kuratomi
aab13daa6a Merge pull request #1293 from sivel/python24-compat-test
Add test validating if modules are python24 compatible
2015-05-08 13:03:58 -07:00
Brian Coca
18ccced5fe Merge pull request #1274 from bennojoy/issue-122
fixes issue 122, where the module recreates the route table in each run
2015-05-08 15:50:37 -04:00
Brian Coca
bc22ee9069 Merge pull request #1015 from jml/ec2-eip
Make ec2_eip idempotent
2015-05-08 15:24:20 -04:00
Matt Martz
e12ca16399 Add compileall testing via travis to validate modules are python24 compatible 2015-05-08 13:42:06 -05:00
Toshio Kuratomi
8b4e201772 Expand tildes and vars in the config file path 2015-05-08 10:41:01 -07:00
Brian Coca
296691d34d Merge pull request #1281 from ChrisLundquist/patch-1
[ec2_ami_find] fix ami_search doc copy pasta
2015-05-08 09:09:08 -04:00
Jamie Hannaford
8db564dcf7 Fix attribute name for Auto Scale servers 2015-05-08 14:05:16 +02:00
Brian Coca
8ec2673431 Merge pull request #1282 from macbeth76/patch-1
Update user.py
2015-05-07 16:57:50 -04:00
macbeth76
bb2fc14865 Update user.py
M in date format is minutes. m is for months.
2015-05-07 16:55:28 -04:00
Chris Lundquist
4670e1285b [ec2_ami_find] fix ami_search doc copy pasta 2015-05-07 11:51:11 -07:00