Commit graph

6040 commits

Author SHA1 Message Date
Toshio Kuratomi
7dd9f57e16 Fix splitting of role_attrs 2015-05-18 12:45:47 -07:00
Toshio Kuratomi
81b476cd02 Update module "imports" to new style
Fixes #1351
2015-05-18 11:59:20 -07:00
Brian Coca
627593b43a Merge pull request #1347 from octplane/add_dockerfile_parameter
Support optional dockerfile name
2015-05-18 11:51:28 -04:00
Pierre Baillet
06e3ac7bf4 Support optional dockerfile name 2015-05-18 16:51:12 +02:00
Brian Coca
61ec66e557 Merge pull request #1345 from Jmainguy/openbsd_hostname
added openbsd to hostname module
2015-05-18 10:15:44 -04:00
Brian Coca
c690c6806b Merge pull request #1350 from aioue/patch-2
Update ec2.py
2015-05-18 09:29:00 -04:00
Tom Paine
764c3ae5a4 Update ec2.py
Make assign_public_ip choices explicit. People incorrectly try and assign a specific IP thinking it accepts an IP address as a value.
2015-05-18 14:21:49 +01:00
Benno Joy
601fa16ada Merge pull request #1327 from bennojoy/issue_600
fixes issue #600, where ec2 module returns instance state as running ev…
2015-05-18 11:40:02 +05:30
Jonathan Mainguy
ffbdd349b8 added openbsd to hostname module 2015-05-17 23:42:49 -04:00
Toshio Kuratomi
4b44aa4799 Fix use of codecs.escape_decode() 2015-05-17 09:28:14 -07:00
Toshio Kuratomi
94246003d5 Merge branch 'jaypei-fix-lineinfile' into devel 2015-05-17 09:16:53 -07:00
Toshio Kuratomi
142760658f Slightly more future-proof version of the lineinfile fix 2015-05-17 09:15:57 -07:00
Toshio Kuratomi
2eafbdd63a Merge branch 'fix-lineinfile' of https://github.com/jaypei/ansible-modules-core into jaypei-fix-lineinfile 2015-05-17 09:14:00 -07:00
Brian Coca
e00b47be75 Merge pull request #1334 from devjatkin/fix-service
Fix unused variable systemd_enabled
2015-05-17 08:50:33 -04:00
Toshio Kuratomi
493144e06c Correct lineinfile documentation about double quoting... Hasn't been the case for years. 2015-05-15 14:13:27 -07:00
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
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