Commit Graph

2341 Commits (7a52ad498d4182f2ff09c8cb557541540560ce52)
 

Author SHA1 Message Date
Michael DeHaan 38055e33c5 Merge pull request #3648 from echohead/glance-image-timeout
Fix 'timeout' parameter of glance-image module.
11 years ago
Michael DeHaan 838acd4877 Merge pull request #3676 from bcoca/debug_doc_update
updated debug module docs to remove outdated -v requirement
11 years ago
Michael DeHaan 5fbb82fd15 Merge pull request #3634 from stintel/mysql-revoke-grant-option
Only revoke GRANT OPTION when user actually has it
11 years ago
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.
11 years ago
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.
11 years ago
Brian Coca e8e8779dfa fixed bug from prev update
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca 2c06418f6d whitespace updates on new lines
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Brian Coca fe57037f84 now uses get_bin_path for lvg executables
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
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>
11 years ago
lwade 9128f9f313 Added ability to create virtual directories. 11 years ago
Nicholas Kuechler 50f8a2ffc8 Change equals to colon 11 years ago
Nicholas Kuechler d49220b830 Fixed a problem on my side. Was doing weird things. 11 years ago
Nicholas Kuechler b9a67d0adb Remove tailing bracket 11 years ago
Balazs Pocze 3b9171077c mysql_replication module added 11 years ago
Balazs Pocze 39cc08e0f0 MySQL variables module 11 years ago
Stoned Elipot a0ce78e6e5 module mysql_user: fix 'state' parameter description 11 years ago
Michael DeHaan 5b80299231 Make exceptions handling python 2.4 compatible. 11 years ago
Michael DeHaan 9fd6de6220 Merge pull request #3666 from bpennypacker/statdoc
doc update for stat module
11 years ago
Nicholas Kuechler a89007ec8d Update example to be more yaml friendly 11 years ago
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.
11 years ago
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>
11 years ago
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'
11 years ago
Brice Burgess 00af464b8a initial import of dnsmadeeasy module 11 years ago
Bruce Pennypacker bb07c443a4 doc update 11 years ago
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.
11 years ago
Andreas Kaiser 1bf6656f0b Fix pkgin search (yielding wrong results under certain conditions, see inline comments). 11 years ago
Nicholas Kuechler 2eb208cfd9 Add example with multiple files. 11 years ago
Nicholas Kuechler e76c27d89b Update docs and example for injecting files. 11 years ago
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 11 years ago
Eivind Uggedal 16cb5551af Pacman module: recursive remove support 11 years ago
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.
11 years ago
Peter Hall 0517a104e6 Adding getstr mode to download an object into a variable 11 years ago
Ralph Tice 151f73138f fixed vpc provisioning / clarified group_id usage 11 years ago
Michael DeHaan 2da5dc7886 Merge branch 'devel' of github.com:ansible/ansible into devel 11 years ago
Michael DeHaan 7bfc24706c Fix prev feature commit, Do not require aptitude to use apt commands in the apt module, only needed when upgrading. 11 years ago
Michael DeHaan ecf074865f Continue on mount errors, don't fail the setup module. 11 years ago
Michael DeHaan 99f1852c6d Merge pull request #3622 from bcoca/fix_the_stat_fix
use global to fail as its not in self
11 years ago
Brian Coca 220fe24d39 use global to fail as its not in self
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
11 years ago
Michael DeHaan adda77a42b Merge pull request #3617 from dermute/devel
svr4pkg doesn't work on Sol10
11 years ago
Michael DeHaan 71b3d7043b Remove end of line semicolons. 11 years ago
Michael DeHaan 3b3ff552f2 Remove reference to 'context' since it's not implemented. 11 years ago
Michael DeHaan 8d0a14ae7d Fix route53 module docs version/module name 11 years ago
Michael DeHaan 5c8e5c81de Fix YAML doc errors. 11 years ago
Michael DeHaan dc7e280d3b Update docs to add version_added attribute. 11 years ago
Michael DeHaan 8065e414d1 Merge pull request #3400 from diko4096/patch-1
Update gem
11 years ago
Michael DeHaan df0e4666c0 Merge pull request #3413 from evan82/devel
Added module for baking EC2 AMIs
11 years ago
Michael DeHaan 3f4c6affa3 Update CHANGELOG 11 years ago
Michael DeHaan 9ebde16e3a Merge branch 'iss_cron' of git://github.com/dirtyharrycallahan/ansible into dh_cron 11 years ago
Michael DeHaan e7b6eeefb2 Merge pull request #3574 from bpennypacker/route53
AWS route53 module
11 years ago
Michael DeHaan 81be8ff7d3 Update htpasswd module for various API incompatibilities 11 years ago