Commit graph

7505 commits

Author SHA1 Message Date
Pedro Romano
1bd04f797e GCE libcloud 0.15 support and code cleanup
* Code formatting (indentation and white space) fixes for improved PEP8 conformity.
* Remove redundant backslashes inside parentheses.
* Test for object identity should be 'is not None'.
* Test for membership should be 'not in'.
* Fit docstring to the PEP8 79 character limit.
* Use forward compatible Python 2.6+ 'except .. as' syntax for exception handling.
* Support libcloud > 0.15 'metadata' argument format.
2015-12-18 16:23:12 -08:00
Brian Coca
23c4297c96 Merge pull request #2703 from agireud/fix_boot_volume
Update root_volume variable
2015-12-18 09:21:29 -05:00
Toshio Kuratomi
9366dfb63e mariadb isn't always the last elemen of the version string 2015-12-17 13:45:04 -08:00
Toshio Kuratomi
b4a3fdd493 Fix mysqldump usage of config_file 2015-12-17 11:35:44 -08:00
Toshio Kuratomi
c75c000369 Merge pull request #2403 from dvarrazzo/pip-vcs-changed
Fix status after pip installations with VCS urls
2015-12-17 10:16:16 -08:00
Brian Coca
cd0f350b84 Merge pull request #2705 from bcoca/service_fail_whenmissing
service goes back to failing when absent
2015-12-17 13:04:28 -05:00
Brian Coca
827b9596da service goes back to failing when absent
if no tools and no init script, this should always fail
2015-12-17 12:55:43 -05:00
Chrrrles Paul
92fd2a9436 Merge pull request #2564 from luto/feature/vsphere_guest/support_nested_folders
vsphere_guest: support putting a guest into a nested folder
2015-12-17 11:47:08 -06:00
Alberto Gireud
9cc67e45a6 Update root_volume variable 2015-12-17 07:21:17 -06:00
Toshio Kuratomi
16a3bdaa7d Account for mariadb versioning 2015-12-16 14:07:17 -08:00
Toshio Kuratomi
3c48320b29 Merge pull request #2447 from Jmainguy/mysql_ssl
Unify all 3 modules.
2015-12-16 10:48:13 -08:00
Toshio Kuratomi
7601f51ee8 Merge pull request #2333 from leehuk/mysql_anon_user
- mysql: add host_all parameter, to work on all user accounts for that host
2015-12-16 08:14:31 -08:00
Jonathan Mainguy
69d56c4d21 Unify all 3 mysql modules.
Use same connection method, use config_file, and add ssl support
2015-12-16 11:10:22 -05:00
Toshio Kuratomi
f04cd88d22 Fix os_server docs build 2015-12-16 08:06:29 -08:00
Brian Coca
50e7bff554 Merge pull request #2686 from bcoca/stat_magic
added mime option to stat module
2015-12-16 09:13:33 -05:00
Brian Coca
1e82054385 Merge pull request #2695 from donovan/fix-os_server-typo
fix typo in os_server security_groups description
2015-12-16 08:50:47 -05:00
Lee H
f3b2180e42 - add version_added as requested to host_all 2015-12-16 02:06:02 -05:00
Lee H
85a19c68bd - remove user_anonymous as the same thing can be accomplished by user='', but leave
in the examples for removing anonymous users
2015-12-16 02:03:30 -05:00
Donovan Jones
cf061dd93a fix typo in os_server security_groups description 2015-12-16 15:20:55 +13:00
Chrrrles Paul
e252fffb92 Merge pull request #2689 from tsmolka/patch1
Making cluster parameter optional
2015-12-15 14:32:44 -06:00
Brian Coca
6b13da738b updated module docs, added choices to state 2015-12-15 08:43:49 -05:00
Brian Coca
a6223ba43c Merge pull request #2577 from emonty/pass-volume-args
Pass volume args to OpenStack Server creation
2015-12-15 08:34:29 -05:00
Brian Coca
4e8d04d248 Merge pull request #2159 from leonty/devel
Support 'labels' parameter for docker.
2015-12-15 08:32:37 -05:00
Monty Taylor
187a4bd505 Add support for network, boot_from_volume and volumes
nics is a great flexible parameter, but it's wordy. Shade now supports
a simple parameter too, which is just "network" and takes a name or id.
Add passthrough support.

In addition to supporting booting from a pre-existing volume, nova and
shade both support the concept of booting from volume based on an image.
Pass the parameters through.

Shade supports boot-time attachment of additional volumes for OpenStack
instances. Pass through the parameter so that ansible users can also
take advantage of this.
2015-12-15 07:32:28 -05:00
Tobias Smolka
0cacadb670 Making cluster parameter optional 2015-12-15 12:45:51 +01:00
Chrrrles Paul
3c685d7468 Merge pull request #2680 from ansible/yum-use-rpm
Use rpm instead of repoquery for is_installed()
2015-12-15 00:13:43 -06:00
Brian Coca
1590f49618 Merge pull request #2655 from traveloka/fix-ec2-vol
Set the argument type for ec2_vol's encrypted parameter
2015-12-14 23:10:27 -05:00
Brian Coca
a876704740 Merge pull request #2239 from boushley/devel
Fix issue with comparing versions improperly
2015-12-14 21:59:27 -05:00
Brian Coca
0250ea1507 Merge pull request #2097 from phanect/gcenet-errormsg
Error message & doc improvement for ipv4_range
2015-12-14 21:38:27 -05:00
Brian Coca
f500a2ec53 added mime option to stat module
it uses file magic to now return mime_type and charset of a file as
per output of `file -i /path`
2015-12-14 21:18:13 -05:00
Lee H
9dd6cad224 - add example showing removal of anonymous user accounts 2015-12-14 11:46:32 -05:00
Lee H
b5d7becc29 Merge branch 'devel' into mysql_anon_user
Conflicts:
	database/mysql/mysql_user.py
2015-12-14 11:40:20 -05:00
Toshio Kuratomi
e6b7b17326 Merge pull request #2673 from Jmainguy/mysql_hash
Mysql hash
2015-12-14 07:46:10 -08:00
Toshio Kuratomi
0125770d8d Use rpm instead of repoquery for is_installed()
* This keeps us from hitting bugs in repoquery/yum plugins in certain
  instances (#2559).

* The previous is also a small performance boost

* Also in is_installed(), when using the yum API, return if we detect
  a package name has been installed.  We don't need to also check
  virtual provides in that case.  This is another small performance
  boost.

* Sort the list of packages returned by the list parameter.
2015-12-13 09:16:28 -08:00
Brian Coca
7433779164 Merge pull request #2311 from bcoca/user_solaris_fix
better handling of checkmode for solaris
2015-12-12 17:39:49 -05:00
Brian Coca
f3ed819241 added missing version_added 2015-12-12 17:29:27 -05:00
Brian Coca
76b926a9e8 Merge pull request #1941 from badpass/devel
Add support for selinux user when adding a new user
2015-12-12 17:25:15 -05:00
Brian Coca
10e70aaf2b note that create globs only work on 2.0
fixes #2666
2015-12-12 17:16:47 -05:00
Brian Coca
ed43b66d77 made note that Z/z are only 2.1 options 2015-12-12 13:04:01 -05:00
Brian Coca
38d651fb82 Merge pull request #2455 from solidm/selinux
Add support for 'z' and 'Z' option for volumes for selinux hosts
2015-12-12 12:59:27 -05:00
Brian Coca
147668d994 Merge pull request #2668 from fields/devel
added a reference to the template module for clarity
2015-12-11 23:24:04 -05:00
Jonathan Mainguy
8e812164a4 Add Jmainguy as author, fix hash check 2015-12-11 21:48:15 -05:00
Derek Smith
aba519868f updated examples
added mysql 5.7 user password modification support with backwards compatibility

resolved mysql server version check and differences in user authentication management

explicitly state support for mysql_native_password type and no others. fixed some failing logic and updated samples

updated comment to actually match logic.

simplified conditionals and a little refactor
2015-12-11 21:48:12 -05:00
trevoro
c007cd7f9a adding password_hash support to mysql_user module
fixing user_add arguments error

fixing user_mod arguments error
2015-12-11 21:48:07 -05:00
Brian Coca
74609ce42c Merge pull request #2636 from vmindru/yum_fix_typo
fix typo s/defaults/default
2015-12-11 15:53:41 -05:00
Brian Coca
f680076686 Merge pull request #2663 from timrchavez/fix_add_ips_to_server
Get new server object after adding floating IP
2015-12-11 15:04:17 -05:00
Chrrrles Paul
a56d652c7b Merge pull request #2196 from fennm/vmware_clone_to_folder
Support cloning VMs into a specific VM folder
2015-12-11 09:52:42 -05:00
Chrrrles Paul
b4254fe1a4 Merge pull request #2182 from serialdoom/devel
vsphere: automatically add new drives
2015-12-11 09:47:45 -05:00
Timothy R. Chavez
b9fe8166fd Get new server object after adding floating IP
We need a new server object once we add the floating ip, otherwise we
will be operating with the older server object pre-floating-ip
assignment.
2015-12-10 13:01:57 -06:00
Adam Fields
27f561dca2 added a reference to the template module for clarity 2015-12-10 12:45:59 -05:00