Commit Graph

8372 Commits (1ab2c3a737435d7d11d8b10ba13d911a845f395d)
 

Author SHA1 Message Date
Brian Coca 0250ea1507 Merge pull request #2097 from phanect/gcenet-errormsg
Error message & doc improvement for ipv4_range
9 years ago
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`
9 years ago
Lee H 9dd6cad224 - add example showing removal of anonymous user accounts 9 years ago
Lee H b5d7becc29 Merge branch 'devel' into mysql_anon_user
Conflicts:
	database/mysql/mysql_user.py
9 years ago
Toshio Kuratomi e6b7b17326 Merge pull request #2673 from Jmainguy/mysql_hash
Mysql hash
9 years ago
Hans-Joachim Kliemeck 777edaf3f5 fix problem with file content and high cpu/out of memory errors 9 years ago
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.
9 years ago
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.
9 years ago
Brian Coca 7433779164 Merge pull request #2311 from bcoca/user_solaris_fix
better handling of checkmode for solaris
9 years ago
Brian Coca f3ed819241 added missing version_added 9 years ago
Brian Coca 76b926a9e8 Merge pull request #1941 from badpass/devel
Add support for selinux user when adding a new user
9 years ago
Brian Coca 10e70aaf2b note that create globs only work on 2.0
fixes #2666
9 years ago
Brian Coca ed43b66d77 made note that Z/z are only 2.1 options 9 years ago
Brian Coca 38d651fb82 Merge pull request #2455 from solidm/selinux
Add support for 'z' and 'Z' option for volumes for selinux hosts
9 years ago
Brian Coca 147668d994 Merge pull request #2668 from fields/devel
added a reference to the template module for clarity
9 years ago
Jonathan Mainguy 8e812164a4 Add Jmainguy as author, fix hash check 9 years ago
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
9 years ago
trevoro c007cd7f9a adding password_hash support to mysql_user module
fixing user_add arguments error

fixing user_mod arguments error
9 years ago
Brian Coca 74609ce42c Merge pull request #2636 from vmindru/yum_fix_typo
fix typo s/defaults/default
9 years ago
Brian Coca f680076686 Merge pull request #2663 from timrchavez/fix_add_ips_to_server
Get new server object after adding floating IP
9 years ago
Chrrrles Paul a56d652c7b Merge pull request #2196 from fennm/vmware_clone_to_folder
Support cloning VMs into a specific VM folder
9 years ago
Chrrrles Paul b4254fe1a4 Merge pull request #2182 from serialdoom/devel
vsphere: automatically add new drives
9 years ago
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.
9 years ago
Adam Fields 27f561dca2 added a reference to the template module for clarity 9 years ago
Toshio Kuratomi 0d23b3df52 Merge pull request #2658 from dekimsey/yum-channel-support
Fix yum module failing to initalize yum plugins
9 years ago
Brian Coca d4916bd476 Merge pull request #2659 from mscherer/remove_useless_unsafe_shell
Remove a unneeded use of use_unsafe_shell
9 years ago
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.
9 years ago
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.
9 years ago
Daniel Kimsey a54d1fe09c Fix yum module failing to initalize yum plugins 9 years ago
Brian Coca 0b5555b62c Merge pull request #2365 from Jmainguy/mysql_docfix
Update documentation to reflect need for mysql client
9 years ago
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.
9 years ago
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
9 years ago
Dominique Barton 6128845b69 bugfix for issue #2537 9 years ago
quoing 877daf970d Fix: Default ACL parameters are not correctly handled 9 years ago
Brian Coca db66144386 simplified lowercasing 9 years ago
quoing c93de2f930 Add "default" entry option back (removed in e95bcae), update will translate entry to standard parameters so compatibility with BDS is kept 9 years ago
Brian Coca 9581e24a75 Merge pull request #2653 from marktheunissen/remove_marktheunissen
Remove Mark Theunissen as maintainer
9 years ago
Mark Theunissen 5599bfb07d Remove Mark Theunissen as maintainer 9 years ago
Vladimir Mihailenco 366e6ab360 rackspace: set headers when uploading files to CF.
Otherwise CDN (Akamai) downloads file without the headers. The sequence
is following:
1. Ansible uploads file to CF.
2. Akamai downloads the file and caches it in CDN.
3. Ansible sets headers.

As a result Akamai serves file without headers.

This is backwards incompatible change, because headers keys are not
prefixed with `x-object-meta-`. Which allows user to set headers like
`Access-Control-Allow-Origin`.
9 years ago
Bert Van Vreckem 9556bcb9c2 Also show stdout when validation fails. This fixes #2498 9 years ago
Jason Paige cc0ee4ad40 updating choices for rds parameter engines 9 years ago
Etherdaemon a56ffff51b Update to wait and wait_timeout with a maximum of 10 minutes timeout 9 years ago
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.
9 years ago
Veaceslav Mindru 0d5380258e fix typo s/defaults/default 9 years ago
Brian Coca 15dcabe012 Merge pull request #2541 from joshuaeke/patch-1
Update ec2.py remove state tag
9 years ago
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
9 years ago
Brian Coca a1ea2182b7 Merge pull request #2621 from arthur-c/devel
Example of single instance with ssd gp2 root volume creation
9 years ago
Arthur Clement bfcdb05597 Example of single instance with ssd gp2 root volume creation 9 years ago
Brian Coca 8a2459c643 Merge pull request #2590 from noseka1/devel
Fix ini_file module, avoid bracklets in key break idempotence
9 years ago
Ales Nosek 9c74272c9b Fix #2475 ini_file module: bracklets in key break idempotence
Escape the regex special characters in the option name.
9 years ago