Commit graph

7709 commits

Author SHA1 Message Date
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
Hans-Joachim Kliemeck
777edaf3f5 fix problem with file content and high cpu/out of memory errors 2015-12-14 16:04:13 +01:00
Timothy R. Chavez
05e16c950d Pass network argument to add_ips_to_server
The `network` argument needs to be passed through `add_ips_to_server`
so that the default value can be properly overridden from ansible.
2015-12-13 09:30:20 -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
Toshio Kuratomi
0d23b3df52 Merge pull request #2658 from dekimsey/yum-channel-support
Fix yum module failing to initalize yum plugins
2015-12-10 08:07:06 -08:00
Brian Coca
d4916bd476 Merge pull request #2659 from mscherer/remove_useless_unsafe_shell
Remove a unneeded use of use_unsafe_shell
2015-12-10 09:51:04 -05:00
Michael Scherer
8c5e8f0425 Split a shell snippet in 2 to avoid using use_unsafe_shell=True
Since use_unsafe_shell is suspicious from a security point
of view (or it wouldn't be unsafe), the less we have, the less
code we have to toroughly inspect for a security audit.

In this case, the '&&' can be replaced by doing 2 calls to run_command.
2015-12-10 00:20:13 +01:00
Michael Scherer
8ccfdb874e Remove a unneeded use of use_unsafe_shell
Since use_unsafe_shell is suspicious from a security point
of view (or it wouldn't be unsafe), the less we have, the less
code we have to toroughly inspect for a security audit.
2015-12-10 00:00:19 +01:00
Daniel Kimsey
a54d1fe09c Fix yum module failing to initalize yum plugins 2015-12-09 12:06:48 -06:00
Brian Coca
0b5555b62c Merge pull request #2365 from Jmainguy/mysql_docfix
Update documentation to reflect need for mysql client
2015-12-09 10:53:47 -05:00
Michel Alexandre Salim
18f4f5dcc6 Set the argument type for ec2_vol's encrypted parameter
If this is not set, Ansible parses the parameter as a string.
This is fine if the parameter is not provided by the caller, but
if it is set to False or True explicitly, ec2_vol receives this as
the string 'False' or the string 'True', both of which are truthy.

Thus, without this fix, setting the parameter results in encryption
always enabled.
2015-12-09 10:14:06 +07:00
nitzmahone
f2b72e62c0 fixed disappearing groups on OSX user module
Ensure that we don't try to modify the groups collection if groups are not specified
2015-12-08 16:17:21 -05:00
Dominique Barton
6128845b69 bugfix for issue #2537 2015-12-08 16:17:21 -05:00
quoing
877daf970d Fix: Default ACL parameters are not correctly handled 2015-12-08 11:44:03 -08:00
Brian Coca
db66144386 simplified lowercasing 2015-12-08 11:41:32 -08:00
quoing
c93de2f930 Add "default" entry option back (removed in e95bcae), update will translate entry to standard parameters so compatibility with BDS is kept 2015-12-08 11:41:32 -08:00
Brian Coca
9581e24a75 Merge pull request #2653 from marktheunissen/remove_marktheunissen
Remove Mark Theunissen as maintainer
2015-12-08 12:28:51 -05:00
Mark Theunissen
5599bfb07d Remove Mark Theunissen as maintainer 2015-12-08 19:09:50 +02:00
Jason Paige
cc0ee4ad40 updating choices for rds parameter engines 2015-12-08 10:31:53 +00:00
Etherdaemon
a56ffff51b Update to wait and wait_timeout with a maximum of 10 minutes timeout 2015-12-07 20:27:31 +10:00
Aaron Kurtz
b303d760e6 Remove 'cache_table' from required params
Starting in Django 1.7, the createcachetable command looks for cache
table names in the CACHES settings dictionary, so cache_table is no
longer required, but is still allowed.
2015-12-07 01:51:16 -08:00
Veaceslav Mindru
0d5380258e fix typo s/defaults/default 2015-12-06 20:54:05 +01:00
Brian Coca
15dcabe012 Merge pull request #2541 from joshuaeke/patch-1
Update ec2.py remove state tag
2015-12-05 10:12:55 -05:00
Toshio Kuratomi
191347676e When the password file does not exist and we're making sure the user isn't in the password file, change error into a warning
Warning catches typos in the filename.  Since the playbook is saying
"make sure this user doesn't have an entry" it makes more sense to warn
than to error.

Fixes #2619
2015-12-04 09:20:29 -08:00
Brian Coca
a1ea2182b7 Merge pull request #2621 from arthur-c/devel
Example of single instance with ssd gp2 root volume creation
2015-12-03 13:59:40 -08:00
Arthur Clement
bfcdb05597 Example of single instance with ssd gp2 root volume creation 2015-12-03 22:48:13 +01:00
Brian Coca
8a2459c643 Merge pull request #2590 from noseka1/devel
Fix ini_file module, avoid bracklets in key break idempotence
2015-12-02 20:44:59 -08:00