Commit graph

6441 commits

Author SHA1 Message Date
Brian Coca
7810a898e8 sleep when only doing a time delay to avoid cpu churn 2015-05-26 10:58:39 -04:00
Johann Schmitz
8892aa2bf4 Improved output of mysql_db plugin
Show error number and error description on connect error to ease debugging.
2015-05-26 16:13:40 +02:00
Brian Coca
1736c8dfea Merge pull request #1399 from SUSE/devel
Add SLE12 support to hostname.py
2015-05-26 10:08:52 -04:00
whiter
71ad56b151 Fix for issue #1332 - when instance is has finished deleting and get_db_instance returns None, exit gracefully 2015-05-26 15:12:00 +10:00
Toshio Kuratomi
d74187438f Merge pull request #1417 from fdupoux/mysql-db-use-python-pipelines
Decompress mysql dumps on the fly using python subprocess …
2015-05-25 18:15:54 -07:00
fdupoux
380b122d5a Refactoring to avoid duplication of code which manages the decompression of database dumps in various formats 2015-05-25 20:22:49 +01:00
fdupoux
f634c10636 Simplify code which prepares the decompression command 2015-05-25 20:10:12 +01:00
Toshio Kuratomi
32e609720a Refactor dump compression and use get_bin_path for finding the compressors 2015-05-25 09:22:08 -07:00
fdupoux
1e2ce363f7 Decompress mysql dumps on the fly using python subprocess during an import to simplify operation 2015-05-25 13:40:15 +01:00
Benno Joy
29f4a5a1ed Merge pull request #1407 from Jmainguy/service_check_ubuntu
fixes check mode for Ubuntu 14.04
2015-05-25 08:13:29 +05:30
Benno Joy
784589eede Merge pull request #1414 from wangqiang8511/issu_fix_1302
Do instance update after add tags to instance.
2015-05-25 07:56:55 +05:30
Wang Qiang
31f3319b56 Do instance update after add tags to instance. 2015-05-25 09:25:11 +08:00
Andrew Pashkin
27c174128b Add 'docker_api_version' to docker_image
By default docker-py uses latest version of Docker API. This is not
always desireable, and this patch adds option to specify version, that
should be used.
2015-05-23 23:17:30 +03:00
Jonathan Mainguy
442b6a2067 fixes check mode for Ubuntu 14.04 2015-05-22 21:28:36 -04:00
Ryan Walls
3f679933a6 Add support for --log-driver option that docker released with Docker 1.6 2015-05-22 16:36:38 -06:00
James Cammarata
b5399d3446 Re-reverting windows modules PR #384 2015-05-22 13:28:24 -05:00
Benno Joy
51fa223a0d Merge pull request #1398 from markocelan/devel
Added support for foreign security groups (Fixes: #373)
2015-05-22 17:26:41 +05:30
Vladislav Lewin
771b369005 add SLE12 support to hostname.py 2015-05-22 13:26:25 +02:00
marko
5f5be7bc2a Added support for foreign security groups (Fixes: #373) 2015-05-22 12:34:41 +02:00
Jesse Keating
a14aee5239 Add an openstack servers actions module
This module supports a few of the server actions that are easy to
initially impiment. Other actions require input and provide return
values in the API calls that will be more difficult to impliment, and
thus are not part of this initial commit.
2015-05-21 16:19:57 -07:00
Toshio Kuratomi
16d83e9e1a Merge pull request #1392 from br0ziliy/fix-add-state-to-easy-install-pull-request
Fix "_is_package_installed() takes exactly 4 arguments, 3 provided"
2015-05-21 15:55:24 -07:00
Vasyl Kaigorodov
f0dc27227c Fix "_is_package_installed() takes exactly 4 arguments, 3 provided" error 2015-05-21 23:24:20 +02:00
Toshio Kuratomi
0877aae3fe Merge pull request #1383 from schlueter/add-state-to-easy_install
Add state to easy_install
2015-05-21 11:07:00 -07:00
Schlueter
1030cb48a7 Add 'version_added' to state documentation for easy_install resource 2015-05-21 12:54:48 -04:00
Schlueter
17544062ec Correct reference to gem in easy_install resource 2015-05-21 12:49:43 -04:00
Schlueter
02cd8489c1 Add Documentation 2015-05-21 12:23:05 -04:00
Schlueter
3bae8bda10 Use standard if statement to check state in easy_install resource 2015-05-21 12:16:26 -04:00
Schlueter
9b6a741615 Correct pass by object reference issue 2015-05-21 12:04:13 -04:00
Jamie Hannaford
7de4b13124 Fix get_launch_config var name 2015-05-21 15:52:03 +02:00
Tom Paine
3183ab6da1 Update vsphere_guest.py
Add mounted ISO image to examples.
2015-05-21 12:52:52 +01:00
Brian Coca
150b71f11a removed executable bit 2015-05-21 07:01:08 -04:00
Toshio Kuratomi
0860505770 Merge pull request #1390 from Jmainguy/mysql_user_lowercase
changes hostname to lowercase
2015-05-21 07:16:14 -07:00
Toshio Kuratomi
8d4ed1043b Merge pull request #1389 from Jmainguy/ami_tags
fixes example documenation
2015-05-21 07:14:03 -07:00
Jonathan Mainguy
5a22f052b4 changes hostname to lowercase 2015-05-21 09:32:12 -04:00
Jonathan Mainguy
3a294c3379 fixes example documenation 2015-05-21 09:07:23 -04:00
Toshio Kuratomi
e591763d62 Merge pull request #1331 from ansible/uri-encoding-fix
Fix problem writing binary content to a temporary file in the uri module
2015-05-20 17:56:57 -07:00
Toshio Kuratomi
59ea9003ea Merge pull request #1359 from Jmainguy/hostname_64_chars
added nice error for systemd hosts where name > 64 chars
2015-05-20 17:49:21 -07:00
Toshio Kuratomi
3319875ecf Merge pull request #1384 from kozmaz87/fix_yum_latest
YUM disablerepo fix when state=latest
2015-05-20 15:18:13 -07:00
Zoltan Kozma
364536a76e - Fixed annoying bug that disablerepo was essentially broken if a package needed updating by state latest.
- Replaced some unsafe practice with default parameters. However looking at the code this does not seem to matter much as the calling functions always seem to supply these parameters anyway.
2015-05-20 19:46:39 +01:00
Monty Taylor
6606e4f68d Add OpenStack Network module
Also, deprecate the old quantum network module
2015-05-20 11:41:24 -07:00
Schlueter
9468a65bed Add state to easy_install 2015-05-20 13:43:53 -04:00
Tom Paine
ed07502587 Update vsphere_guest.py
Add example distributed virtual switch example so vm_nic options are clearer.
2015-05-20 16:01:29 +01:00
Benno Joy
b0412c13fc Merge pull request #1367 from Aclima/file-dir-example
Adding directory creation example to file module.
2015-05-20 08:47:07 +05:30
Toshio Kuratomi
8d2fdf2aff Update the cron docs to specify that it takes a boolean value 2015-05-19 14:23:23 -07:00
Toshio Kuratomi
0c04a54f67 Merge pull request #1368 from ansible/postgresql-user-account-vs-role-fix
Fix a problem introduced with #1101 and optimize privilege handling
2015-05-19 14:17:35 -07:00
Toshio Kuratomi
4106047e77 Fix documentation of the variable that backup file name is returned in 2015-05-19 14:15:02 -07:00
Brian Coca
bfda7b8943 Merge pull request #1356 from bcoca/normalize_mysql_bools
minor doc fix and made sure check_implicit_admin is true boolean
2015-05-19 16:18:05 -04:00
Toshio Kuratomi
c9b17136e4 Fix a problem introduced with #1101 and optimize privilege handling
* If a db user belonged to a role which had a privilege, the user would
  not have the privilege added as the role gave the appearance that the
  user already had it.  Fixed to always check the privileges specific to
  the user.
* Make fewer db queries to determine if privileges need to be changed
  and change them (was four for each privilege.  Now two for each object
  that has a set of privileges changed).
2015-05-19 12:57:06 -07:00
Greg Taylor
f38bf24c8a Adding directory creation example to file module. 2015-05-19 11:45:00 -07:00
Brian Coca
428369b76c Merge pull request #1349 from bcoca/sysctl_value_string
value should be string as that is what it compares against
2015-05-19 11:00:51 -04:00