Commit graph

9748 commits

Author SHA1 Message Date
Chao Luan
134c449cf6 Remove extra quote from the mysqldump password argument
The mysqldb Ansible module will fail if the state specified is import or dump with a '1045: Access Denied' mysql error for complex passwords.

This is caused by the extra quote around the '--password' argument to mysqldump, as pipes.quotes already quotes the password string.

>>> "--password='%s'" % pipes.quote('simple')
"--password='simple'"

>>> "--password='%s'" % pipes.quote('c0mplexp@ssword!')
"--password=''c0mplexp@ssword!''"

>>> "--password='%s'" % pipes.quote('password with space')
"--password=''password with space''"
2014-04-01 23:52:08 +11:00
Michael DeHaan
991399edf0 Update comments about redis config. 2014-03-19 18:15:52 -04:00
Michael DeHaan
b0639b16cf Merge branch 'devel' of git://github.com/mleventi/ansible into devel 2014-03-19 18:15:06 -04:00
Michael DeHaan
f2d9e064ec Merge branch 'hash-behavior-plugins' of git://github.com/echohead/ansible into devel
Conflicts:
	lib/ansible/inventory/__init__.py
2014-03-19 18:07:17 -04:00
Michael DeHaan
ba79cf34df Update the FAQ advice on recursive copy now that there are two good ways to do this. 2014-03-19 18:05:33 -04:00
Michael DeHaan
e639b5382b Change default gathering policy, add to docs. 2014-03-19 18:03:03 -04:00
Brian Coca
18adf07fc6 changed setting values and updated docs 2014-03-19 18:03:03 -04:00
Brian Coca
4dfa40f18e added gathering control to ansible, defaults to 'smart' 2014-03-19 18:03:03 -04:00
Michael DeHaan
a8514dacc3 Add capabilities module. 2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
97db1676e0 Bugfix for xattrless files and the capabilities module. 2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
f26ebff438 Create a capabilities module for managing Linux kernel capabilities(7) with setcap(8). 2014-03-19 17:48:17 -04:00
Michael DeHaan
c42dbf80a2 Merge pull request #6586 from sivel/probline-logic-fix
Fix logic in process_common_errors for unbalanced quotes
2014-03-19 17:45:49 -04:00
Michael DeHaan
266123e521 Merge pull request #6549 from mattjbray/docker-tty-stdin_open-params
docker: add tty and stdin_open options
2014-03-19 17:28:12 -04:00
Michael DeHaan
a5bdf621cf add notes about new AWS modules. 2014-03-19 17:26:59 -04:00
Michael DeHaan
5a5a9574e6 Merge pull request #6540 from Zeekin/devel
Add cloud modules ec2_scaling_policy and ec2_metricalarm
2014-03-19 17:25:44 -04:00
Michael DeHaan
b1fe7ee24a Add notes about new notification module. 2014-03-19 17:23:30 -04:00
Michael DeHaan
3d7bf1e52a Merge branch 'devel' of git://github.com/tksmd/ansible into devel 2014-03-19 17:23:01 -04:00
Michael DeHaan
54635cb59f Add note about IRC library default change. 2014-03-19 17:21:41 -04:00
Michael DeHaan
8fb5e2c657 Merge pull request #5443 from nirvinehh/devel
irc module: Make default irc color none; add color none
2014-03-19 17:20:07 -04:00
James Cammarata
bf251e3dbf Correct overly broad import from chube in linode inventory script
Fixes #4875
2014-03-19 15:54:29 -05:00
James Tanner
b8f627d1d5 Prevent rewriting the encrypted file if decryption fails 2014-03-19 16:31:03 -04:00
James Tanner
e71857fbdf Addresses #6579 Only strip vault passwords if given 2014-03-19 16:08:35 -04:00
James Tanner
8c2e1e2baa Addresses #6579 Disallow vault passwords with newline characters by stripping them in utils 2014-03-19 15:56:14 -04:00
James Tanner
5f428041db Fixes #6582 Re-add regex to ignore untracked files that were never tracked 2014-03-19 15:42:40 -04:00
James Cammarata
a9000e7f3a Making the error messages for bad key/dir permissions more understandable
Fixes #6254
2014-03-19 14:09:03 -05:00
James Cammarata
efcf93f280 Merge pull request #6571 from bcoca/file_fixes_copydir
fixed issue with directory permissions on copy
2014-03-19 13:54:12 -05:00
Matt Martz
2aaecc5afa Fix logic in process_common_errors for unbalanced quotes 2014-03-19 13:49:31 -05:00
James Cammarata
4880cfb5ea Merge pull request #6568 from sivel/ssl-cert-validation-osx
Make SSL verification on Mac OS X work out of the box
2014-03-19 13:45:45 -05:00
James Tanner
409044155d Fixes #6579 allow for vault passwords ending with newline chars
Also add a unit test for vaulteditor to verify 1.0 passwords with newline chars.
2014-03-19 14:38:11 -04:00
Michael DeHaan
2998466811 Merge pull request #6575 from mahemoff/devel
Hipchat callback: Make "notify" flag optional (default off)
2014-03-19 14:30:13 -04:00
Mahemoff
1640788f30 Remove debugging line (hipchat notification) 2014-03-19 18:15:20 +00:00
Mahemoff
989913bc21 Change hipchat notification default to true 2014-03-19 18:08:30 +00:00
James Tanner
67517e96d3 Fixes #6567 put the git wrapper script in the module temp dir 2014-03-19 10:30:10 -04:00
Matt Martz
1d3d73a0b6 Only write the DUMMY_CA_CERT on OS X 2014-03-19 09:01:13 -05:00
Mahemoff
b4053b67d1 Make hipchat "notify" flag optional (default off) 2014-03-19 09:55:49 +00:00
Brian Coca
f6a75ebaf1 fixed issue with directory permissions on copy #6552 2014-03-18 22:29:22 -04:00
James Tanner
324a943e12 Fixes #6548 correct issues from rhn_register refactoring 2014-03-18 21:21:18 -04:00
Matt Martz
3b5aa8bd30 Provide a dummy ca to allow OS X to do it's OpenSSL keychain magic 2014-03-18 17:16:44 -05:00
Michael DeHaan
8899c74aaf Merge pull request #6565 from fabianfreyer/devel
Fixed bug that occurred when pkgsite not specified
2014-03-18 17:13:05 -04:00
Michael DeHaan
9cf75ed3a6 Merge pull request #6564 from joehack3r/devel
Update example to include delete on termination
2014-03-18 17:12:29 -04:00
Michael DeHaan
c7b683e26e Merge pull request #6561 from patrickheeney/slack-url-fix
Fix domain name in slack module
2014-03-18 17:11:29 -04:00
Fabian Freyer
17fcc89b3b Fixed bug that occurred when pkgsite not specified 2014-03-18 21:55:05 +01:00
joehack3r
815115f792 Update example to include delete on termination 2014-03-18 15:49:27 -05:00
James Tanner
f6a02d9b2c Merge pull request #6220 from trevorah/ansible.git
apt_repository: autoinstall python-apt if not available
2014-03-18 16:21:04 -04:00
patrickheeney
f594e8b6f0 Fix domain name in slack module 2014-03-18 11:17:20 -07:00
James Cammarata
acdb75da92 Merge branch 'threatgrid-issues/6341' into devel 2014-03-18 12:37:54 -05:00
James Cammarata
eb7717aa02 Make sure all tags are in a list before merging for role deps
Fixes #6557
2014-03-18 12:32:22 -05:00
Michael DeHaan
8a4dca4b86 Update CHANGELOG.md 2014-03-18 13:30:13 -04:00
Michael DeHaan
416d6becd9 Merge pull request #6544 from ramondelafuente/feature/notification-slack
A module for notifications through the Slack.com platform
2014-03-18 13:29:48 -04:00
James Cammarata
c9fcbf7bdd Change print message to vvv for missing known hosts in ssh.py 2014-03-18 12:26:10 -05:00