Commit graph

2325 commits

Author SHA1 Message Date
Michael DeHaan
5b80299231 Make exceptions handling python 2.4 compatible. 2013-07-29 13:27:16 -04:00
Michael DeHaan
9fd6de6220 Merge pull request #3666 from bpennypacker/statdoc
doc update for stat module
2013-07-28 06:23:14 -07:00
Nicholas Kuechler
a89007ec8d Update example to be more yaml friendly 2013-07-27 13:33:30 -05:00
Lukasz Kawczynski
adbeffb714 Set default XMPP message type to 'chat'.
This enables sending messages to partychat-like services (e.g. im.partych.at).
This commit also fixes handling of 'to' argument for non-chatroom recipients.
2013-07-26 21:30:10 +01:00
Brian Coca
e7e5db8e6c updated debug module docs to remove outdated -v requirement (and
only_if reference)
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-26 10:06:57 -04:00
Tim Miller
d56518d9ac Fix 'timeout' parameter of glance-image module.
The timeout parameter of glance-image was not being parsed into a
numeric type, causing the following error when specifying timeout:

    msg: Error in creating image: unsupported operand type(s) for +: 'float' and 'str'
2013-07-25 14:54:21 -07:00
Brice Burgess
00af464b8a initial import of dnsmadeeasy module 2013-07-25 15:14:05 -05:00
Bruce Pennypacker
bb07c443a4 doc update 2013-07-25 09:59:23 -04:00
Alan Grosskurth
5700970e05 apt_key: Add 'keyring' parameter
The apt-key command takes an optional --keyring parameter representing
the path to a specific GPG keyring to operate on. If it's not given,
the command operates on all keyring files, i.e., /etc/apt/trusted.gpg
and /etc/apt/trusted.gpg.d/*.gpg.

This change adds a 'keyring' parameter to the apt_key module and
propagates it down to the apt-key command line. The main use case this
supports is organizing keys for third-party repos into individual
keyrings in /etc/apt/trusted.gpg.d, rather than putting them all in
the default keyring.
2013-07-24 18:10:17 -07:00
Andreas Kaiser
1bf6656f0b Fix pkgin search (yielding wrong results under certain conditions, see inline comments). 2013-07-24 16:18:14 +02:00
Nicholas Kuechler
2eb208cfd9 Add example with multiple files. 2013-07-23 23:09:02 -05:00
Nicholas Kuechler
e76c27d89b Update docs and example for injecting files. 2013-07-23 22:49:17 -05:00
Curtis
327dd256fc changed apikey and apiid to api_key and api_id and noted that it is boundary tags not ansible tags as per mpdehaan 2013-07-23 11:16:30 -06:00
Eivind Uggedal
16cb5551af Pacman module: recursive remove support 2013-07-23 15:01:13 +02:00
Stijn Tintel
7102503bb2 Only revoke GRANT OPTION when user actually has it
When revoking privileges from a user, the GRANT OPTION is always
revoked, even if the user doesn't have it. If the user exists, this
doesn't give an error, but if the user doesn't exist, it does:

mysql> GRANT ALL ON test.* TO 'test'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> REVOKE GRANT OPTION ON test.* FROM 'test'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> REVOKE GRANT OPTION ON test.* FROM 'test'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> REVOKE ALL ON test.* FROM 'test'@'localhost';
Query OK, 0 rows affected (0.00 sec)

mysql> REVOKE GRANT OPTION ON test.* FROM 'test'@'localhost';
ERROR 1141 (42000): There is no such grant defined for user 'test' on
host 'localhost'

Additionally, in MySQL 5.6 this breaks replication because of
http://bugs.mysql.com/bug.php?id=68892.

Rather than revoking the GRANT OPTION and catching the error, check if
the user actually has it and only revoke it when he does.
2013-07-23 13:00:29 +02:00
Peter Hall
0517a104e6 Adding getstr mode to download an object into a variable 2013-07-23 11:03:00 +10:00
Ralph Tice
151f73138f fixed vpc provisioning / clarified group_id usage 2013-07-22 17:00:13 -05:00
Michael DeHaan
2da5dc7886 Merge branch 'devel' of github.com:ansible/ansible into devel 2013-07-22 15:16:47 -04:00
Michael DeHaan
7bfc24706c Fix prev feature commit, Do not require aptitude to use apt commands in the apt module, only needed when upgrading. 2013-07-22 15:15:55 -04:00
Michael DeHaan
ecf074865f Continue on mount errors, don't fail the setup module. 2013-07-22 13:57:35 -04:00
Michael DeHaan
99f1852c6d Merge pull request #3622 from bcoca/fix_the_stat_fix
use global to fail as its not in self
2013-07-22 07:56:49 -07:00
Brian Coca
220fe24d39 use global to fail as its not in self
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-22 10:54:20 -04:00
Michael DeHaan
adda77a42b Merge pull request #3617 from dermute/devel
svr4pkg doesn't work on Sol10
2013-07-22 04:37:10 -07:00
Michael DeHaan
71b3d7043b Remove end of line semicolons. 2013-07-21 11:55:38 -04:00
Michael DeHaan
3b3ff552f2 Remove reference to 'context' since it's not implemented. 2013-07-21 11:52:22 -04:00
Michael DeHaan
8d0a14ae7d Fix route53 module docs version/module name 2013-07-21 11:20:37 -04:00
Michael DeHaan
5c8e5c81de Fix YAML doc errors. 2013-07-21 11:15:06 -04:00
Michael DeHaan
dc7e280d3b Update docs to add version_added attribute. 2013-07-21 11:12:04 -04:00
Michael DeHaan
8065e414d1 Merge pull request #3400 from diko4096/patch-1
Update gem
2013-07-21 08:10:27 -07:00
Michael DeHaan
df0e4666c0 Merge pull request #3413 from evan82/devel
Added module for baking EC2 AMIs
2013-07-21 07:53:54 -07:00
Michael DeHaan
3f4c6affa3 Update CHANGELOG 2013-07-21 10:12:28 -04:00
Michael DeHaan
9ebde16e3a Merge branch 'iss_cron' of git://github.com/dirtyharrycallahan/ansible into dh_cron 2013-07-21 10:00:11 -04:00
Michael DeHaan
e7b6eeefb2 Merge pull request #3574 from bpennypacker/route53
AWS route53 module
2013-07-21 06:54:14 -07:00
Michael DeHaan
81be8ff7d3 Update htpasswd module for various API incompatibilities 2013-07-20 18:22:58 -04:00
Michael DeHaan
be35a035b3 Revert "Fix inconsistent json output"
Breaks recursion parameter on file.

This reverts commit e7226e104e.
2013-07-20 18:08:42 -04:00
Michael DeHaan
6030c1bcaa tweak indentation for 'make pep8' 2013-07-20 12:48:11 -04:00
Michael DeHaan
4281f773bb Merge pull request #3602 from bcoca/fine_tune_stat_exception
narrowed down exception
2013-07-20 09:45:31 -07:00
Xabier Larrakoetxea
564f2a99e7 Changed action keyword to command 2013-07-20 18:39:18 +02:00
Michael DeHaan
23e9e5c028 Add version_added information to module parameter. 2013-07-20 12:33:42 -04:00
Michael DeHaan
6f64c090c2 Merge pull request #3396 from adq/mysql
Check if mysql allows login as root/nopassword before trying supplied credentials.
2013-07-20 09:32:00 -07:00
Michael DeHaan
d0e319b6f7 Merge pull request #3440 from lwade/s3mode
Rewritten s3 module to allow for additional modes of operation.
2013-07-20 09:26:03 -07:00
Michael DeHaan
80ef9e2628 Document when options were added on this module. 2013-07-20 12:25:13 -04:00
Michael DeHaan
2cd5e23a51 Merge pull request #3442 from neomantra/supervisorctl
supervisorctl: add command-line options as module parameters
2013-07-20 09:23:46 -07:00
Michael DeHaan
c7866cd472 Merge pull request #3603 from eest/openbsd_pkg-run_command
openbsd_pkg: Use ansible run_command().
2013-07-20 09:14:29 -07:00
Michael DeHaan
517c318989 Merge pull request #3470 from langemeijer/devel
Only append non_unique parameter if a uid is provided as well to user module
2013-07-20 09:11:52 -07:00
Michael DeHaan
5d96666567 Add missing version_added description in docs. 2013-07-20 12:08:47 -04:00
Michael DeHaan
58daa15af1 Merge pull request #3485 from frankshearar/let-rabbitmq-plugin-module-use-nonstandard-path
Let rabbitmq plugin module use nonstandard path
2013-07-20 09:05:54 -07:00
Michael DeHaan
48ca6a16ff Merge pull request #3487 from djoreilly/ks-auth-error
Keystone_user module: fix authentication needs tenant_name too
2013-07-20 09:05:03 -07:00
Michael DeHaan
6ec5d706ef Merge pull request #3502 from bryanlarsen/digital_ocean_no_ip
digital_ocean: don't run update_attr if wait=no
2013-07-20 09:04:31 -07:00
Michael DeHaan
237539a221 Merge pull request #3516 from dagwieers/file-dest
Fix inconsistent json output in file module
2013-07-20 09:01:19 -07:00