Commit graph

7887 commits

Author SHA1 Message Date
Jens Rantil
f4aa808b8d module(file): state what went wrong on exception 2013-12-13 21:33:19 +01:00
Jens Rantil
705316e303 file module: Don't catch SystemExit
This fixes issue #5159.
2013-12-04 13:13:49 +01:00
Michael DeHaan
27199dc219 Merge pull request #5133 from joshuaconner/add_docker_max_version_to_docs
add supported docker version to docs
2013-12-03 16:46:34 -08:00
Michael DeHaan
7ea95dbcb0 Merge pull request #5137 from willthames/test_runner_fix
Ensure test_command tests are actually correct
2013-12-03 16:41:36 -08:00
Michael DeHaan
0fe7f8bc77 Merge pull request #5142 from mmoya/docfix
Add blank line before rst directive
2013-12-03 16:28:12 -08:00
Michael DeHaan
dc4a09a588 Merge pull request #5143 from evgkrsk/ovirt-import
Use ovirtsdk if it installed, but fall out gracefully if it is not
2013-12-03 16:27:54 -08:00
Michael DeHaan
231b0d58c3 Merge pull request #5149 from colszowka/patch-1
Use h2 for version headings in Changelog to allow deeplinking
2013-12-03 16:22:27 -08:00
Michael DeHaan
801ca96a8b Merge pull request #5152 from sivel/too-many-ps
The word skipped only has 2 p's not 3
2013-12-03 16:21:11 -08:00
jctanner
942ee4b3d4 Merge pull request #5151 from sivel/new-new-module-style
Fix new new module_style determination. Fixes #5148
2013-12-03 14:08:53 -08:00
Matt Martz
5f0f3566a6 Skipped only has 2 p's not 3 2013-12-03 15:42:34 -06:00
Matt Martz
8873c3675b Ensure we are looking for the right import to determine if the module_style is new. Fixes #5148 2013-12-03 15:36:33 -06:00
jctanner
2670529671 Merge pull request #5090 from dragon3/hostname_support_amazon_linux
hostname module: add support for Amazon Linux
2013-12-03 12:34:55 -08:00
Christoph Olszowka
816def22f1 Use h2 for version headings to allow deeplinking 2013-12-03 21:10:13 +01:00
James Tanner
d227614529 Fixes #5109 synchronize module ssh port
Added a parameter for dest_port and also check ansible_ssh_port inventory variable.
2013-12-03 14:48:20 -05:00
Evgenii Terechkov
b5d8aa9ff1 Use ovirtsdk if it installed, but fall out gracefully if it is not 2013-12-03 20:21:16 +08:00
Maykel Moya
bddb1e3115 Add blank line before rst directive 2013-12-03 11:51:44 +01:00
willthames
40a44ce6ea Ensure test_command tests are actually correct
Using
```
assert 'changed' in result
```
doesn't actually check if something is changed, which is presumably
the reason for the assertion. What is actually needed is
```
assert result.get('changed')
```
which checks that changed is set and not False. Tests still pass after
this change
2013-12-03 12:03:39 +10:00
jctanner
c259993559 Merge pull request #5078 from brandonhilkert/fix-ec2-tags
Fix checking for existence of EC2 tags
2013-12-02 14:50:47 -08:00
jctanner
872a1ee39b Merge pull request #5107 from maetthu/devel
authorized_key module: rewrite options to dict parser, fixes #5032
2013-12-02 14:02:43 -08:00
jctanner
ef92b2cb12 Merge pull request #5063 from samh/devel
Fixed hostname module for RHEL6 Workstation
2013-12-02 13:38:32 -08:00
Joshua Conner
c2f128f737 add supported docker version to docs 2013-12-02 13:08:47 -08:00
James Tanner
ad837709bd Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
jctanner
93159cb9cd Merge pull request #4996 from sivel/rax-module-utils
Implement ansible.module_utils.rax
2013-12-02 11:55:59 -08:00
jctanner
219f27a594 Merge pull request #4938 from giorgio-v/pkgin_y_default
Added `-y` flag to `query_package`
2013-12-02 11:47:04 -08:00
jctanner
6d80c50faf Merge pull request #4817 from j2sol/zero-exit
Exit 0 with no matched hosts
2013-12-02 10:04:18 -08:00
James Tanner
c050872458 Fixes #4796 handle unicodedecode errors from dmidecode output 2013-12-02 11:56:38 -05:00
James Tanner
04b031756c Merge pull request #4502 from dxsarmit/ansible
New library/cloud/ec2 module parameter (assign_public_ip) for non-default VPC instance launching.
2013-12-02 09:43:20 -05:00
Michael DeHaan
3b469f81d3 Merge pull request #5120 from mechfish/patch-1
Fix "manual" ansible-playbook example in guide_vagrant.rst
2013-12-02 05:54:40 -08:00
Michael F. Booth
8a19b595c7 Fix "manual" ansible-playbook example in guide_vagrant.rst
The given example is trying to load an inventory file with the -i option, so it should probably be given the actual Vagrant-written inventory file name. I contemplated using 'vagrant_ansible_inventory_default' instead (which is what my Vagrant demo actually creates) but 'vagrant_ansible_inventory_machinename' is more consistent with the existing example in the docs.
2013-12-01 23:25:23 -05:00
Michael DeHaan
3aa5283de4 Update README.md
Add PyPi version badge.
2013-12-01 19:04:20 -05:00
Michael DeHaan
3541bfcb09 Merge pull request #5074 from pcraston/devel
Fix for documentation playbook loops
2013-12-01 14:29:47 -08:00
Michael DeHaan
5efcf265d1 Merge pull request #5046 from JensRantil/improve-mount-doc
mention that the mount module will remove mount directories
2013-12-01 14:27:40 -08:00
Matthias Blaser
9d442243ab rewrite options to dict parser, fixes #5032 2013-11-30 09:03:35 +01:00
James Cammarata
9101c2af98 Fix traceback in template error detection code
Fixes #5081
2013-11-29 08:47:54 -06:00
Michael DeHaan
44ca015d87 Merge pull request #5088 from EspadaV8/5057_assemble_fix
Correct the invocation of ‘_assemble_from_fragments’
2013-11-27 18:38:21 -08:00
Michael DeHaan
c3245e45c2 Update the .gitignore based on the docsite restructuring. 2013-11-27 21:35:43 -05:00
Michael DeHaan
40429ee64e Code to limit display of version_added attributions in modules for modules that are too old to call out this information.
This does not generically apply to new arguments added to existing modules, just the version_added attribute on the top level modules.
2013-11-27 21:34:00 -05:00
Michael DeHaan
36effd237c There's a cleaner way to do this, commit to module formatter pending.
Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago."

This reverts commit ff0a41d446.
2013-11-27 21:23:03 -05:00
Michael DeHaan
ff0a41d446 No longer need to reference 'version_added' in docs for these, as this was quite a while ago. 2013-11-27 21:19:32 -05:00
Michael DeHaan
51e6f411f2 Docs: Fix the module formatter code that is intended to remove the 'historical' variable from showing up in version_added information (RST) 2013-11-27 21:14:38 -05:00
dragon3
d39e6fda92 hostname module: add support for Amazon Linux 2013-11-28 09:31:25 +09:00
Andrew Smith
7d007cac16 Correct the invocation of ‘_assemble_from_fragments’ 2013-11-28 09:44:14 +10:00
Michael DeHaan
52b2cfedfc Add release history for 1.4.1 into 1.5 branch. 2013-11-27 18:41:07 -05:00
jctanner
920bc6e75b Merge pull request #5086 from j2sol/fix-accelerate_inventory
Avoid a traceback when using accelerate
2013-11-27 14:46:12 -08:00
Michael DeHaan
55cc5f25c5 Merge pull request #5085 from tgerla/awsfixes
fix heading name syntax in AWS guide
2013-11-27 14:35:49 -08:00
James Tanner
b6879ca2bd Fixes #5030 compare connection user and sudo user and disable sudo if identical 2013-11-27 17:01:53 -05:00
Jesse Keating
5522d489e3 Avoid a traceback when using accelerate
This bit of code is attempting to access accelerate_inventory_host,
which may not have been set/created. This will cause a traceback.
Instead use getattr with a fallback to False.
2013-11-27 13:58:11 -08:00
Tim Gerla
af42f0b771 fix heading name syntax in AWS guide 2013-11-27 12:36:49 -08:00
James Tanner
12ed39ef7b Fixes #5056 Append new hosts to the groups cache 2013-11-27 13:04:31 -05:00