Commit graph

7785 commits

Author SHA1 Message Date
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
Ales Nosek
9c74272c9b Fix #2475 ini_file module: bracklets in key break idempotence
Escape the regex special characters in the option name.
2015-12-02 20:31:27 -08:00
Brian Coca
1229adb36c Merge pull request #2609 from cspollar/devel
Fixed typo in uri module example
2015-12-02 16:08:15 -08:00
Brian Coca
292a83cba7 corrected version_added for new temp_dest feature 2015-12-02 14:30:28 -08:00
Brian Coca
d2eaf33add Merge pull request #1887 from sysadmin75/9512_get_url_tmp_option2
Adds tmp_dest option to get_url module.
2015-12-02 14:24:25 -08:00
cspollar
34f7d7b068 Fixed typo in uri module example 2015-12-02 14:01:16 -06:00
Brian Coca
aad4317111 Merge pull request #2604 from krdlab/fix-stat-document
Fix 'stat' module document
2015-12-02 07:50:31 -08:00
krdlab
61a3625ed0 Fix 'stat' module document 2015-12-02 18:20:20 +09:00
stephane
8d986a62a9 Add support for pip force-reinstall
The pip command allows a user to force reinstallation,
but the module doesn't currently support it. Add
"force-reinstall" as a possible state.
2015-12-01 12:03:54 -08:00
Brian Coca
43d2ecda06 Merge pull request #2546 from traveloka/fix-ec2-snapshot-info
Fix ec2_snapshot documentation
2015-12-01 09:46:48 -08:00
Brian Coca
81d599192c Merge pull request #2594 from pileofrogs/unarch_better_error
improved error message when no handler found
2015-12-01 09:37:23 -08:00
Toshio Kuratomi
cd9a7667aa Don't raise or catch StandardError in amazon modules 2015-11-30 19:02:28 -08:00
Mike Buzzetti
b00e1b556c Add evaluate taget health for alias based records 2015-11-30 17:50:40 -05:00
Dylan Martin
bfa7cdb5c4 improved error message when no handler found 2015-11-30 11:47:38 -08:00
Toshio Kuratomi
2dba0d8d3a Merge pull request #2583 from vmindru/yum_validate_certs
adding validate_certs for YUM. #2582
2015-11-30 11:03:00 -08:00
Brian Coca
ead1028256 Merge pull request #2565 from suonto/devel
Removed unneccessary permission greed
2015-11-30 09:22:54 -08:00
Brian Coca
c6fdd3809f fixed typo EEXISTS is actually EEXIST
fixes #2585
2015-11-30 07:23:29 -08:00
Brian Coca
8e6c273104 Merge pull request #2580 from sinner-/devel
Update hostname.py
2015-11-30 06:50:16 -08:00
Stewart Rutledge
640dca15a5 Merge branch 'insecure' of github.com:stewrutledge/ansible-modules-core into insecure 2015-11-30 10:28:15 +01:00
Stewart Rutledge
edf6bf31b6 Changed insecure to validate_certs, with a default to true from false (reversing behavior) 2015-11-30 10:26:16 +01:00
Stewart Rutledge
78f4979a0e Added support for insecure parameter 2015-11-30 10:26:16 +01:00
Veaceslav Mindru
dc697bf533 adding validate_certs for YUM. #2582 2015-11-29 20:59:03 +01:00
Sina Sadeghi
ae582adce6 Update hostname.py
Added support for FreeBSD. (http://www.freebsd.org)
2015-11-29 18:00:44 +11:00
Brian Coca
aad7497f18 Merge pull request #2542 from maxrothman/patch-1
Fix rds "promote" command never promoting
2015-11-27 13:28:23 -08:00
Brian Coca
9030ae996c Merge pull request #2569 from gerph/gerph-fix-docs-file
Update documentation for 'file' module to include 'diff_peek'.
2015-11-27 12:57:19 -08:00
Charles Ferguson
176b4103b6 Add documentation to 'file' AnsibleModule definition for internals.
The parameters 'diff_peek' and 'validate' are not expected to be used
by users. They are internal. To make it clear, this change adds the
comments 'Internal use only' to each of those definitions to make
it clear that they are actually used, just not by end-users.
2015-11-27 20:49:27 +00:00
luto
794911c592 vsphere_guest: support putting a guest into a nested folder 2015-11-27 20:04:20 +01:00
Brian Coca
660b47f62d minor doc fixes and reformating
updated validate_certs feature to be 2.1
2015-11-27 09:28:50 -08:00
Brian Coca
aad6e044e6 Merge pull request #2519 from vmindru/validate_key_auth_module
add  validate_certs  option #2518
2015-11-27 09:22:31 -08:00
Hans-Joachim Kliemeck
9fa758d54c do not move item, instead copy item because acl will be kept 2015-11-27 11:32:54 +01:00