Commit graph

4055 commits

Author SHA1 Message Date
Michael DeHaan
2518ec2b86 Merge pull request #6849 from atlashealth/ec2_snapshot_fixed_type_issue
ec2_snapshot: fix for "unknown type number requested for wait_timeout"
2014-04-03 18:01:22 -04:00
Michael DeHaan
b4c500634d Merge pull request #6793 from muffl0n/patch-4
apt_key: Output URL for debugging
2014-04-03 17:35:49 -04:00
Michael DeHaan
051d57caeb Clarify free_form isn't a real option :) 2014-04-03 17:34:33 -04:00
Richard C Isaacson
dc93b31d22 assemble module: fix insertion of newlines when not needed.
This builds on GH-6359 and changes the logic so that a newline is only inserted between fragments if the previous fragment does not end with a newline.
2014-04-03 16:32:35 -05:00
Peter Gehres
3ac731087c Fix for #6353 adding a newline between assembled files 2014-04-03 16:32:35 -05:00
Matt Martz
37f096a6bb rax modules improvements
* Catch issues with invalid regions
* Ensure we send string only data as meta values in the rax module
* Add public_key/lookup example for rax_keypair
* Clean up import statements
2014-04-03 17:16:24 -04:00
Michael DeHaan
1fa19e29e8 Use common file argument system previously implemented by @sivel for rax modules on the file modules as well (copy/file/template).
Application to other cloud providers would make very good sense.
2014-04-03 16:52:39 -04:00
Matt Martz
7b5f89ec7c Use PluginLoader for module docs fragments 2014-04-03 16:52:39 -04:00
Matt Martz
bb6f7a267a Add support for shared module documentation fragments 2014-04-03 16:52:39 -04:00
Atlas Health
2657bbcefa ec2: added ability to set EBS optimized instances
added version
2014-04-03 12:38:43 -07:00
James Tanner
1c9950678a Addresses #6750 Use --help instead of - 2014-04-03 15:26:48 -04:00
Atlas Health
7321e23b31 fixed error related to type being defined as a number 2014-04-03 12:24:05 -07:00
James Tanner
cca028187e Fixes #6750 Check git subcommand for --remote and expose errors 2014-04-03 15:21:54 -04:00
James Tanner
b660062801 Fixes #6454 verify ec2 key fingerprints 2014-04-03 13:53:43 -04:00
Gael Pasgrimaud
1fc4b89e64 Fix a typo in the subversion module documentation 2014-04-03 14:34:43 +02:00
Michael DeHaan
2fd6d16f99 Merge pull request #6831 from aresch/patch-1
Fix _parse_value always returning 0 when not true, false or None.
2014-04-02 20:09:41 -04:00
Michael DeHaan
7db7e86db9 Merge pull request #6830 from angstwad/cf-fix
rax_files fix -- small idempotency fix
2014-04-02 19:18:42 -04:00
Paul Durivage
3763b32f86 Fix issue where a container is created but is not indicating that the state was changed 2014-04-02 18:05:36 -05:00
Andrew Resch
cd12d8a917 Fix _parse_value always returning 0 when not true, false or None. 2014-04-02 15:59:05 -07:00
Joshua Lund
79c245f31f Update cron module documentation. The 'name' parameter is required. 2014-04-02 16:41:09 -06:00
Michael DeHaan
90c137dea3 Slightly revise wording. 2014-04-02 17:43:40 -04:00
Michael DeHaan
dff5368e43 Merge branch 'authorized_key-manage_dir' of git://github.com/tyll/ansible into devel 2014-04-02 17:42:24 -04:00
Michael DeHaan
a4bce09ad1 Clarify docs message. 2014-04-02 17:37:10 -04:00
Michael DeHaan
19437aad0b Merge pull request #6798 from follower/patch-5
Clarify the port value always defaults to 3306
2014-04-02 17:34:33 -04:00
Michael DeHaan
18b713fd74 Example cleanup. 2014-04-02 17:32:44 -04:00
Michael DeHaan
5269216c41 Merge branch 'patch-3' of git://github.com/muffl0n/ansible into devel 2014-04-02 17:30:29 -04:00
Michael DeHaan
0981e405d6 Merge pull request #6810 from bob-smith/debconf-text
debconf detail requirements and fix typos
2014-04-02 17:25:22 -04:00
Michael DeHaan
0125f36c49 Merge pull request #6796 from mistaka0s/mysqldump_fix
Remove extra quote from the mysqldump password argument
2014-04-02 17:24:35 -04:00
Michael DeHaan
12022233f4 Merge pull request #6770 from lemonlatte/fix_default_uri_of_get_xml
Fix the default url of get_xml function.
2014-04-02 17:23:22 -04:00
Michael DeHaan
3ba01cac3c Note that keyserver was added in 1.6 2014-04-02 17:18:14 -04:00
James Cammarata
eb15d2f6fe Fix issue with sysctl parameter parsing introduced by 0e8c7b1
Fixes #6806
2014-04-02 15:26:02 -05:00
Michael DeHaan
71061479a0 Merge pull request #6826 from bob-smith/debconf-parsing
debconf correctly quote strings
2014-04-02 16:14:17 -04:00
James Cammarata
684d46b170 Fixing some parsing issues in authorized_key module
Also adds an integration test for authorized_key for future validation.

Fixes #6700
2014-04-02 15:02:54 -05:00
John Barker
b8efbb1cb3 debconf correctly quote strings 2014-04-02 20:43:12 +01:00
Michael DeHaan
f50a943064 Merge pull request #6803 from aresch/patch-1
redhat_subscription calls AnsibleModule() without argument_spec
2014-04-02 11:40:57 -04:00
Oleg A. Mamontov
933fb349f1 Fixed cwd for submodules update 2014-04-02 13:21:26 +04:00
James Cammarata
ba4838cde5 Adding wait/wait_timeout parameters to the ec2_key module
Fixes #6455
2014-04-01 22:14:35 -05:00
John Barker
f89262c74f debconf detail requirements and fix typos 2014-04-01 21:51:12 +01:00
jctanner
6a1dcca4be Merge pull request #6805 from sivel/env-interpreter-fix
Fix interpreter lines in a couple of modules
2014-04-01 15:03:20 -04:00
Matt Martz
b4de76373a Use /usr/bin/python instead of /usr/bin/env python 2014-04-01 13:54:37 -05:00
Andrew Resch
c92ec68fa3 redhat_subscription calls AnsibleModule() without argument_spec
The Rhsm object requires an AnsibleModule but it isn't created with an argument_spec and fails.  Since the rhn.module is set directly after, setting None for the required argument of Rhsm fixes the module.
2014-04-01 11:22:29 -07:00
follower
4be010b09b Clarify the port value always defaults to 3306
While the [boto docs](https://github.com/boto/boto/blob/develop/boto/rds/__init__.py#L253) make it seem like the default value of `port` is changed depending on the engine chosen, AFAICT from looking at the code the default value is never changed from 3306.

I think the docs are intended to be read as "the default value used by <engine> is <port> so you should change `port` to that value".

If you don't specify the port value and chose the database engine as PostgreSQL you'll end up with a PostgreSQL instance running on port 3306.
2014-04-02 02:25:14 +13:00
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
jjshoe
2387f044e4 module_retention isn't defined anywhere, including the help. 2014-04-01 07:49:51 -05:00
Sven Schliesing
c8e80b2aa4 Output URL for debugging 2014-04-01 13:55:58 +02:00
James Tanner
c751168895 Fix merge conflicts 2014-03-31 13:15:21 -04:00
James Tanner
9fe2bcd076 Merge #5903 from rhaido/ansible
Update files documentation for usage of force=True and hardlinks
2014-03-31 12:53:03 -04:00
Michael DeHaan
9ca9b9fe07 Merge pull request #6768 from mscherer/fix_typo_caps
fix typo in the capabilities module description
2014-03-31 09:34:25 -04:00
Sven Schliesing
fb10ca73dc Update uri 2014-03-31 14:32:56 +02:00
Sven Schliesing
d6943e46ef Example for queueing build in Jenkins 2014-03-31 14:32:07 +02:00
James Cammarata
225eca6311 Adding an options sections to the docstring in the lldp module 2014-03-30 23:08:53 -05:00
Jim Yeh
48dc27ea74 Fix the default url of get_xml function.
* This enable a user to configure uri in get_xml function
2014-03-31 11:05:31 +08:00
James Tanner
6792c76c50 Fix librato_annotation docstring 2014-03-30 22:28:31 -04:00
Michael Scherer
2dc3153330 fix typo in the capabilities module description 2014-03-30 22:33:24 +02:00
Matt Way
034ac93ca2 don't parse empty stream chunks 2014-03-30 15:27:29 -04:00
James Laska
f96618c967 Use proper YAML quotes to fix webdocs 2014-03-30 14:26:18 -04:00
Michael DeHaan
2f75662a47 Merge pull request #6758 from cgtx/devel
backreferences should be double escaped
2014-03-30 11:59:06 -04:00
James Cammarata
1b3f77fafd Merge pull request #6759 from Malvineous/devel
More descriptive error message if init system is unknown
2014-03-30 01:37:17 -05:00
James Cammarata
6e809c2be3 Removing wait loop around initial state check during registration
Also fixed a bug in which the state parameter was marked as a 'bool'
type, which was breaking execution of the module.

Fixes #6543
2014-03-29 23:47:11 -05:00
Adam Nielsen
1a9c5947ed More descriptive error message if init system is unknown 2014-03-30 11:46:13 +10:00
James Laska
6c8d8a746f Fix YAML docstring that broke webdocs 2014-03-29 19:15:42 -04:00
cgtx
f6abc17e8a backreferences should be double escaped 2014-03-29 18:14:56 -05:00
Ahti Kitsik
e0f3105ef9 Bugfix for ufw to support "logging" properly:
It's a separate parameter so updated docs and set it as mutually exclusive param.
Also due to an array construction typo it was not working in any situation (ufw LOGLEVEL was passed to cmd instead of ufw logging LOGLEVEL).

Also fixed doc and parameters parsing typo ("choises" should be "choices")
2014-03-29 11:06:51 +02:00
Daniel Jaouen
7f6d2a94af Miscellaneous fixes to homebrew module. 2014-03-28 19:37:05 -04:00
Daniel Jaouen
6412bdf003 Update homebrew module. 2014-03-28 19:20:51 -04:00
Michael DeHaan
4dc598049e Merge pull request #6746 from Jmainguy/svr4pkg
svr4pkg changes - Did my best to rebase. Now includes the latest changes made to devel, al...
2014-03-28 18:50:29 -04:00
Michael DeHaan
6c6523aa1b Merge pull request #6747 from ciupicri/cloud-bugfix
Bugfix for gc_storage and s3
2014-03-28 18:48:14 -04:00
Michael DeHaan
c308b98742 Merge branch 'intellectronica/non-recursive-git' of git://github.com/intellectronica/ansible into devel
Conflicts:
	library/source_control/git
2014-03-28 17:49:02 -04:00
Michael DeHaan
ae1b183855 Add LLDP module 2014-03-28 17:41:58 -04:00
Andy Hill
5b5f2e6d45 lldp: Added EXAMPLES 2014-03-28 17:41:58 -04:00
Andy Hill
8ca70ec487 lldp support in Ansible
This PR introduces support for a lldp module.

lldpd is similar to CDP and can return useful details about a server's network like ports, switches, and VLANs.
2014-03-28 17:41:58 -04:00
Michael DeHaan
c24d4acb2a Documentation fixes + add missing license header 2014-03-28 17:20:20 -04:00
Seth Edwards
cb97599a97 add librato annotation module 2014-03-28 17:20:20 -04:00
Michael DeHaan
2d116aca5e Add version_added info + changelog 2014-03-28 17:11:21 -04:00
Christian Berendt
9a1c1d3242 use module.get_bin_path() for a2enmod 2014-03-28 17:10:15 -04:00
Christian Berendt
b8a8e9fbec removed duplicated <<INCLUDE_ANSIBLE_MODULE_COMMON>> line 2014-03-28 17:10:15 -04:00
Christian Berendt
c958c301ae added module to enable/disable Apache2 modules
This module uses a2enmod or a2dismod to enable or disable
Apache2 modules.
2014-03-28 17:10:15 -04:00
Michael DeHaan
cc6d4bc3f0 changelog and version bump 2014-03-28 17:04:31 -04:00
Michael DeHaan
bba91c7f26 Merge branch 'add_rollbar_rollbar_deployment_module' of git://github.com/kavu/ansible into devel 2014-03-28 17:03:59 -04:00
Michael DeHaan
372c4e6d31 Changelog and version updates. 2014-03-28 17:01:15 -04:00
Michael DeHaan
9e07ff79d7 Merge branch 'layman' of git://github.com/jirutka/ansible into devel 2014-03-28 17:00:52 -04:00
Cristian Ciupitu
d89d2432fd Bugfix for gc_storage and s3
Make keysum return None if not key_check (this case wasn't covered).
2014-03-28 22:47:46 +02:00
Jonathan Mainguy
bef544dd0f Did my best to rebase. Now includes the latest changes made to devel, along with my change of adding category option to module 2014-03-28 15:35:52 -04:00
Michael DeHaan
e6ab2d83b8 Merge pull request #6081 from alexanderpopov1/ec2_vpc-subnet-tagging
Added support for tagging subnets in ec2_vpc module
2014-03-28 15:27:59 -04:00
Michael DeHaan
9190ddfcda Documentation updates / changelog. 2014-03-28 15:03:04 -04:00
Michael DeHaan
1f4e082c9d Merge branch 'added-logentries-module' of git://github.com/ivanvanderbyl/ansible into devel 2014-03-28 15:01:49 -04:00
Michael DeHaan
8baaf458c7 Repairs for documentation build. 2014-03-28 14:57:29 -04:00
Michael DeHaan
e02ae3476f Resolve merge. 2014-03-28 14:56:59 -04:00
Michael DeHaan
c1fbf80f70 Slight docs tweak, split lines according to code standards 2014-03-28 14:04:59 -04:00
Andrea.Mandolo
838b914a0d correct documentation comment and version_added in "synchronize" module 2014-03-28 14:04:59 -04:00
Andrea.Mandolo
c039dbe300 Add STDOUT lines in response of "synchronize" module 2014-03-28 14:04:59 -04:00
Andrea.Mandolo
f9ec53cdef Add "checksum" option support to 'synchronize' module 2014-03-28 14:04:59 -04:00
Michael DeHaan
5b5ab78183 Add version_added to docs. 2014-03-28 13:51:22 -04:00
Michael DeHaan
53ee1ea27c Merge branch 'aws-ec2-egress-rules' of git://github.com/mmoya/ansible into devel 2014-03-28 13:50:58 -04:00
Michael DeHaan
e05c86bb94 Merge pull request #6740 from mjschultz/add-sns-notification
Add Amazon SNS notification plugin
2014-03-28 13:37:09 -04:00
Michael DeHaan
dfbe35d4be Rename apt-rpm to apt_rpm. 2014-03-28 13:18:49 -04:00
Michael DeHaan
535b2ba64c Merge branch 'apt-rpm' of git://github.com/evgkrsk/ansible into devel 2014-03-28 13:17:37 -04:00
Michael DeHaan
e79171cbfb Merge branch 'devel' of git://github.com/leafnode/ansible into devel
Conflicts:
	library/packaging/apt_key
2014-03-28 13:15:06 -04:00
Alex Coomans
2de398b417 Allow setting env variables over .dnsimple file 2014-03-28 13:13:19 -04:00
Alex Coomans
a4372eafaa Add the dnsimple module 2014-03-28 13:13:19 -04:00