Commit graph

6816 commits

Author SHA1 Message Date
Bill Nottingham
69deab1786 Warn on use of sudo, etc. in shell/command. 2015-07-27 11:02:24 -04:00
James Cammarata
2bfddb015d In copy, set the mode before running th validation
Because some programs that do validation (like visudo) may require
the permissions to be more restricted.

Fixes ansible/ansible#11385
2015-07-26 14:40:22 -04:00
Sudheer Satyanarayana
f3a0f0f580 Update mysql_db.py
Mention package installation instructions for CentOS in notes.
2015-07-26 18:08:33 +05:30
Brian Coca
da39fd1625 Merge pull request #1804 from saito-hideki/feature/hostname
Add Solaris support in hostname module
2015-07-25 11:13:29 -04:00
saito-hideki
e91ad2ab6c Add Solaris support in hostname module
feature_pull_request: #1804
2015-07-25 23:32:55 +09:00
saito-hideki
b991a2708b Add Solaris support in hostname module 2015-07-25 21:48:13 +09:00
Brian Coca
481f300836 clarified error messages to actually give back ansible module option instead of internal boto field name 2015-07-24 23:32:41 -04:00
Brian Coca
bdb5aa8f88 Merge pull request #1780 from hostmaster/supervisorctl-present-state-fix
Bugfix Pull Request: supervisorctl module: 'present' state is broken
2015-07-24 20:27:09 -04:00
Brian Coca
a2b713edad Merge pull request #1790 from renard/allow-star-password-on-openbsd-2015-07-24
[user] Allow '*' as empty password.
2015-07-24 18:55:13 -04:00
Brian Coca
008caa1ff7 Merge pull request #591 from d3rp/wait_for
Fix 'wait_for' doesn't work with ipv6only host
2015-07-24 18:38:50 -04:00
Brian Coca
ddadd0e852 Merge pull request #1801 from j-carl/fix-ec2-missing-alias-groups
Fix missing alias "groups".
2015-07-24 18:37:02 -04:00
Jens Carl
fd0fc5131c Fix missing alias "groups". 2015-07-24 22:06:56 +00:00
Brian Coca
9b8470ae95 minor doc fixes 2015-07-24 17:57:13 -04:00
Brian Coca
c688408385 fixed fragment docs 2015-07-24 17:54:02 -04:00
Brian Coca
76344db61e fixed version added 2015-07-24 12:12:40 -04:00
Brian Coca
f1b91a9d31 Merge pull request #1261 from danpilch/devel
Added get_url header support
2015-07-24 12:11:03 -04:00
Feanil Patel
22461e335a If overwrite is set, download eagerly.
If the we are going to overwrite the file anyway,
there is no need to do any checksums locally or
grab the remote etag.
2015-07-24 10:44:05 -04:00
Dan
777d736baa Added header support
Added the ability to pass custom http headers to the fetch_url method.
2015-07-24 15:20:17 +01:00
Brian Coca
0edb7348b8 Merge pull request #1791 from koichirok/fix-freebsd-service-enabled-check
Fix service enabled check failure on FreeBSD
2015-07-24 09:58:29 -04:00
KIKUCHI Koichiro
a3b9fb58bf Fix service enabled check failure on FreeBSD 2015-07-24 21:05:16 +09:00
Sébastien Gross
349195e689 [user] Allow '*' as empty password.
If `password` is defined as `*` `useradd` or `usermod` returns an error:

    msg: usermod: Invalid password: `*'

This works very well on Linux host to not define any password for a
user (mainly useful if your setup is only based on SSH keys for
auth). On OpenBSD this does not work, so we have to ignore the encrypted
password parameter if it defined as `*`.
2015-07-24 10:48:36 +02:00
khassen
5f2b365faa Use the common/shared MD5 function. 2015-07-23 13:58:43 -07:00
Brian Coca
03a809a21c added version_added to body_format in uri 2015-07-23 15:52:11 -04:00
fti7
6a872469fc mount: Support for Check-Mode 2015-07-23 15:51:24 -04:00
Micheal Waltz
613fe54908 Use a if/else instead to avoid loading possibly invalid values for Memory 2015-07-23 12:17:26 -07:00
Micheal Waltz
77d1c896fe Set the API version when checking differences in containers and use
this to determine the location of the Memory value depending on the version used.

In v1.18 and earlier it was ['Config']['Memory'], but in v1.19 it
changed to ['HostConfig']['Memory'].
2015-07-23 11:34:33 -07:00
Greg DeKoenigsberg
8ffe34dcf1 Add new policy guidelines for Core 2015-07-23 14:23:00 -04:00
Brian Coca
c9b7043ee2 Merge pull request #1761 from jhaals/docker-read-only-container
Added support for --read-only Docker containers
2015-07-23 11:59:32 -04:00
Johan Haals
1ea03e7182 ensures API compatibility for read_only containers 2015-07-23 16:45:01 +02:00
Brian Coca
fa5a72f40e Merge pull request #570 from sysadmin75/mysql_user_parse_grant
Fix to revoke privileges for mysql user = ''
2015-07-23 08:52:54 -04:00
Brian Coca
769b81cae1 Merge pull request #1001 from ospii/devel
Validate variable, return only the found variable value instead of tuple
2015-07-23 08:52:22 -04:00
Brian Coca
b6560cfaa0 Merge pull request #1781 from gtcarlos/devel
Fix login_user on mysql_user
2015-07-22 22:25:52 -04:00
Guilherme Carlos
e13e369aae Fix login_user on mysql_user
`login_username` was provided but `login_user` is the correct option
2015-07-22 17:55:35 -03:00
Brian Coca
cfe697f676 Merge pull request #1775 from arcz/patch-1
Fix typos in route53.py
2015-07-22 16:47:18 -04:00
billwanjohi
99e3881a7c iam: don't delete passwords by default 2015-07-22 20:46:42 +00:00
Igor Khomyakov
305970569d fixed 'present' 2015-07-22 19:19:00 +03:00
Toshio Kuratomi
222927256d Remove validate_certs as the url is not user settable so we always want to validate the certificate 2015-07-22 07:09:51 -07:00
Brian Coca
ceca41ea6b Merge pull request #1770 from bbasata/patch-1
Fix iam_policy example
2015-07-22 08:15:58 -04:00
Brian Coca
06ad5c9b91 Merge pull request #1771 from willthames/postgresql_empty_role_attr_flags
postgresql_user: improve checks to reduce work done
2015-07-22 08:15:11 -04:00
Artur Cygan
2133cb1171 Update route53.py
Fix typos
2015-07-22 11:36:32 +02:00
Chris Church
3f240a939f Merge pull request #1774 from cchurch/fix_win_user_1241
Fix win_user error from #1241
2015-07-22 03:16:54 -04:00
Chris Church
313381981e Save user after creating before trying to read/set other properties. Fixes #1241 2015-07-22 03:14:20 -04:00
Johan Haals
851e55b55f changed version_added for read_only param
this feature will be released in 2.0
2015-07-22 08:28:16 +02:00
Johan Haals
8ec6538ad4 Merge remote-tracking branch 'upstream/devel' into docker-read-only-container 2015-07-22 08:27:35 +02:00
Chris Church
a6866be882 Merge pull request #1473 from Constantin07/patch-1
Added additional stat output values
2015-07-22 01:58:51 -04:00
Baraa Basata
dc9dfa9ef8 Fix iam_policy example 2015-07-22 00:03:33 -04:00
Will Thames
47cb92f74f Ensure TEMP privilege gets removed when expanding ALL.
ALL gets expanded to the list of VALID_PRIVS which includes
TEMPORARY and TEMP
The code that replaced TEMP with TEMPORARY didn't work with the
expansion
2015-07-22 13:34:52 +10:00
Brian Coca
bf38fe315a Merge pull request #1769 from eyecat/devel
Checking pip uninstall output in both stdout and stderr
2015-07-21 22:55:22 -04:00
Will Thames
2a0f6c1cb3 Correct handling of empty role_attr_flags
role_attr_flags is the empty string by default, not None.
2015-07-22 12:05:21 +10:00
Brian Coca
d5772c4ca0 Merge pull request #1455 from jeffwidman/devel
Fix typos and make docs consistent re: File modules' validate option
2015-07-21 21:02:40 -04:00