Commit graph

3837 commits

Author SHA1 Message Date
Chao Luan
749e749c11 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
ff5560f00c Update comments about redis config. 2014-03-19 18:15:52 -04:00
Michael DeHaan
fbb15ad52f Merge branch 'devel' of git://github.com/mleventi/ansible into devel 2014-03-19 18:15:06 -04:00
Michael DeHaan
7f36630dd5 Add capabilities module. 2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
2daee9ed20 Bugfix for xattrless files and the capabilities module. 2014-03-19 17:48:17 -04:00
nate@bx.psu.edu
c19e4a7d0b Create a capabilities module for managing Linux kernel capabilities(7) with setcap(8). 2014-03-19 17:48:17 -04:00
Michael DeHaan
4888b9266f 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
319fceb64d add notes about new AWS modules. 2014-03-19 17:26:59 -04:00
Michael DeHaan
65a84667a2 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
3fde0e3826 Add notes about new notification module. 2014-03-19 17:23:30 -04:00
Michael DeHaan
e20d173115 Merge branch 'devel' of git://github.com/tksmd/ansible into devel 2014-03-19 17:23:01 -04:00
Michael DeHaan
62ea445b47 Add note about IRC library default change. 2014-03-19 17:21:41 -04:00
Michael DeHaan
430969781c 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 Tanner
69d40b861f Fixes #6582 Re-add regex to ignore untracked files that were never tracked 2014-03-19 15:42:40 -04:00
James Cammarata
2d4315020d Merge pull request #6571 from bcoca/file_fixes_copydir
fixed issue with directory permissions on copy
2014-03-19 13:54:12 -05:00
James Tanner
6c8980c1a4 Fixes #6567 put the git wrapper script in the module temp dir 2014-03-19 10:30:10 -04:00
Brian Coca
402cd11c52 fixed issue with directory permissions on copy #6552 2014-03-18 22:29:22 -04:00
James Tanner
9efcbd8ef2 Fixes #6548 correct issues from rhn_register refactoring 2014-03-18 21:21:18 -04:00
Michael DeHaan
d10de23f39 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
ae42f4d4a5 Merge pull request #6564 from joehack3r/devel
Update example to include delete on termination
2014-03-18 17:12:29 -04:00
Michael DeHaan
43440c1034 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
a061440828 Fixed bug that occurred when pkgsite not specified 2014-03-18 21:55:05 +01:00
joehack3r
e4842b5df2 Update example to include delete on termination 2014-03-18 15:49:27 -05:00
James Tanner
12340279c4 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
72014bce01 Fix domain name in slack module 2014-03-18 11:17:20 -07:00
James Cammarata
e12c462d3d Merge branch 'threatgrid-issues/6341' into devel 2014-03-18 12:37:54 -05:00
Michael DeHaan
2556dfb0bc 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
Michael DeHaan
8676f55f1d Merge pull request #6556 from andreaskern/patch-1
add param to note example for ssh-keyscan
2014-03-18 13:25:45 -04:00
James Cammarata
f46760ef37 Execute commands through accelerate with shell when needed
This fixes an issue related to the new run_command changes, whereby
Popen fails to run a command when an executable is specified + shell=False
and there are multiple positional arguments (see Popen docs for details)
2014-03-18 12:24:13 -05:00
Michael DeHaan
d60fb500dc Merge pull request #6554 from vyrak/keep-head-state
homebrew: state=head includes --HEAD
2014-03-18 12:58:01 -04:00
andreaskern
2385b28de5 add param to note example for ssh-keyscan
hostnames in the known hosts file are typically stored as Hashed values, calling 'ssh-keyscan' with '-H' changes to output to the Hashed format so that the known_hosts file looks more consistent
2014-03-18 17:24:56 +01:00
James Cammarata
9f9c077878 Merge branch 'issues/6341' of https://github.com/threatgrid/ansible into threatgrid-issues/6341 2014-03-18 10:46:39 -05:00
James Tanner
4028f55c04 Fixes #6519 Properly handle state=absent in sysctl module 2014-03-18 09:30:21 -04:00
Matt Bray
a351f40fff docker: add tty and stdin_open options
Useful for development environments.  Setting these options to true
allows you to `docker attach` to a docker container started with
ansible.
2014-03-18 11:57:01 +00:00
Ramon de la Fuente
e1c622030c mandatory silly mistake 2014-03-18 04:59:15 +01:00
Ramon de la Fuente
e15af949a8 A module for notifications through the Slack.com platform
This module can send messages through Slack.com, and supports all options
available in the "incoming webhook integration".

- text
- channel
- username
- icon_url / icon_emoji
- link_names
- parse
2014-03-18 04:46:08 +01:00
Zeekin
2afa7c691d Added AWS modules ec2_scaling_policy and ec2_metricalarm for configuring scaling policies for autoscaling groups, and metric alarms. 2014-03-18 10:32:55 +10:00
vyrak bunleang
5549c2cdd0 prevent state from changing from head to installed
allows for --HEAD to be included in brew install command
2014-03-17 16:56:54 -06:00
Michael DeHaan
950c0ebce6 Merge pull request #6529 from sivel/apt-repository-no-pycurl
Remove dependency on pycurl in apt_repository
2014-03-17 17:32:23 -04:00
James Cammarata
d60ac967b9 Merge branch 'file_fixes_clean' of https://github.com/bcoca/ansible into bcoca-file_fixes_clean 2014-03-17 14:03:26 -05:00
Matt Martz
427fe86ae7 remove dependency on pycurl from apt_repository by using module_utils/urls.py instead 2014-03-17 11:31:04 -05:00
Michael DeHaan
2f6988d946 Update formatting in module example. 2014-03-17 09:10:33 -04:00
Jonathan Dray
63e2d9b3f7 fix: bug in apt when python-apt is not present apt-get was not called due to unsafe call 2014-03-17 02:24:12 +01:00
Michael DeHaan
9495dda0ab Amend wait_for docs to reference version of feature addition. 2014-03-16 17:10:37 -04:00
Michael DeHaan
6bc94937ac Merge branch 'devel' of git://github.com/AnderEnder/ansible into devel 2014-03-16 17:10:02 -04:00
Michael DeHaan
ba99056948 Version bump for alternatives module, changelog. 2014-03-16 16:54:57 -04:00
Gabe Mulley
4c132c11f7 add a module for update-alternatives 2014-03-16 16:54:57 -04:00
Michael DeHaan
d10b3f9257 Merge pull request #5597 from laggyluke/mongodb_user_idempotence
Fix idempotence in mongodb_user module
2014-03-16 15:50:43 -05:00
Michael DeHaan
497790dbf5 Version bump, bigip_facts + changelog 2014-03-16 16:48:41 -04:00
Michael DeHaan
28bd2ba271 Bump twilio module version_added, changelog. 2014-03-16 16:48:41 -04:00