Commit graph

2560 commits

Author SHA1 Message Date
James Cammarata
494030aa6c Removing skipped=True so the task is just marked as not-changed 2013-08-03 12:15:09 -05:00
Michael DeHaan
73b9079a25 Merge branch 'git_undefined_branch_variable' of git://github.com/psvo/ansible into devel 2013-08-03 13:12:48 -04:00
Lorin Hochstein
099936da22 Add description to id parameter of ec2 module
Add some details in the docs about how the id parameter of the ec2
module behaves.
2013-08-02 23:01:17 -04:00
Lorin Hochstein
262808cf7c ec2: Removed unused line
Remove the reference to the unused "termination_list" parameter
in the ec2 module. The instance_ids parameter is the one that contains
the list of instance ids to be terminated.
2013-08-02 22:35:24 -04:00
Lorin Hochstein
3840a9f8f5 ec2: check for changes
In the ec2 module, if an id is specified, check if there have been
any changes. If not, return changed=False

Fixes #3746
2013-08-02 22:23:41 -04:00
James Cammarata
f3384374b9 Set result to skipped when vol group is missing and lv state=absent
Fixes issue #3714 - lvol module state=absent fails (with error) if
the volume group doesn't exist
2013-08-02 20:32:56 -05:00
James Cammarata
e5822b5342 Allow destination paths in the hg module to include a tilde (~)
Fixes issue #3360 - Inconsistent behavior of the hg module w.r.t. dest path
2013-08-02 18:03:20 -05:00
Ben Podoll
279aab42c5 adding param to allow for specifying custom iops setting when creating an EBS volume 2013-08-02 11:31:31 -05:00
Petr Svoboda
cbbd9c257d Tidy up fix of git module traceback 2013-08-02 12:54:06 +02:00
rishid
fea38f44ac Verify groups string is not empty before trying add user to groups 2013-08-01 21:19:11 -04:00
Michael DeHaan
5d6a0f3515 Merge pull request #3651 from nicholaskuechler/rax-update-files-docs
Update docs and example for injecting files.
2013-08-01 17:32:15 -07:00
Michael DeHaan
fab11537b1 Merge pull request #3691 from stoned/mysql_user-doc-fix
module mysql_user: fix 'state' parameter description
2013-08-01 17:25:21 -07:00
Michael DeHaan
87e2f74f07 Merge pull request #3728 from bpennypacker/ec2_elb_updates
Added optional region parameter.  Fail if you specify an ELB that doesn'...
2013-08-01 17:20:45 -07:00
Michael DeHaan
c6c7e2f266 Merge pull request #3722 from bcoca/lvg_gets_bin_path
now uses get_bin_path for lvg executables
2013-08-01 17:17:21 -07:00
Michael DeHaan
064b721498 Merge pull request #3655 from disko/pkgin_search_fix
Fix pkgin search
2013-08-01 17:12:16 -07:00
Michael DeHaan
38055e33c5 Merge pull request #3648 from echohead/glance-image-timeout
Fix 'timeout' parameter of glance-image module.
2013-08-01 17:09:44 -07:00
Michael DeHaan
838acd4877 Merge pull request #3676 from bcoca/debug_doc_update
updated debug module docs to remove outdated -v requirement
2013-08-01 17:05:23 -07:00
Michael DeHaan
5fbb82fd15 Merge pull request #3634 from stintel/mysql-revoke-grant-option
Only revoke GRANT OPTION when user actually has it
2013-08-01 17:04:54 -07:00
Bruce Pennypacker
6d6e0d5ab8 Added optional region parameter. Fail if you specify an ELB that doesn't exist.
Boto blindly assumes the us-east-1 region if you don't hardcode a
region in it's config, so you could end up attempting to modify ELB's
in one region from a totally different region.  If a region isn't
specified then default to the region that the module is being run
within rather than the default us-east-1 region since it's a pretty
safe assumption that you intend to work on the ELB's within your
current region.

Also throw an error if a specified ELB instance doesn't exist.  The old
behavior would be to silently succeed with changed=false, so if you had
so much as a typo in the name of your ELB (or were in the wrong region
like my initial testing) you wouldn't get a clear indication that a
problem had occurred.
2013-08-01 16:50:01 -04:00
Petr Svoboda
85396cbd26 Fix traceback in git module when version checkout fails
"UnboundLocalError: local variable 'branch' referenced before assignment" is
raised in git, line 282, in switch_version.

Exception is raised when version is not branch and version checkout fails.
E.g. when version is nonexistant commit.
2013-08-01 12:10:43 +02:00
Brian Coca
e8e8779dfa fixed bug from prev update
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-08-01 00:24:34 -04:00
Brian Coca
2c06418f6d whitespace updates on new lines
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-31 23:26:28 -04:00
Brian Coca
fe57037f84 now uses get_bin_path for lvg executables
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-31 22:32:41 -04:00
Hector Acosta
809278ba1b Add rpm_key module
This module can be used to import public keys into your rpm database.

Signed-off-by: Hector Acosta <hector.acosta@gmail.com>
2013-07-31 15:55:38 -05:00
lwade
9128f9f313 Added ability to create virtual directories. 2013-07-31 11:51:57 +01:00
Nicholas Kuechler
50f8a2ffc8 Change equals to colon 2013-07-30 20:08:22 -05:00
Nicholas Kuechler
d49220b830 Fixed a problem on my side. Was doing weird things. 2013-07-30 20:07:20 -05:00
Nicholas Kuechler
b9a67d0adb Remove tailing bracket 2013-07-30 18:01:34 -05:00
Balazs Pocze
3b9171077c mysql_replication module added 2013-07-30 17:02:07 +02:00
Balazs Pocze
39cc08e0f0 MySQL variables module 2013-07-30 16:59:32 +02:00
Stoned Elipot
a0ce78e6e5 module mysql_user: fix 'state' parameter description 2013-07-29 23:50:17 +02:00
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
27cc519748 Module for managing nodes in a Rackspace Cloud Load Balancer 2013-07-26 22:19:38 +01: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
Brian Coca
a2226228d9 fixed error on detecting missing requirements
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-07-25 21:51:29 -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