Commit graph

21523 commits

Author SHA1 Message Date
Toshio Kuratomi
9a49506677 Update submodule refs 2016-10-15 08:24:33 -07:00
Toshio Kuratomi
d4f4abfb49 Fix python3 developer docs to build.
A couple small refactors to clarify meaning.
2016-10-14 15:57:57 -07:00
Scott Butler
578170a908 Edits for docs PR #18032 2016-10-14 14:30:00 -07:00
scottb
84021a98b8 Merge pull request #18032 from abadger/python3-porting-update
Update dev_guide with Python3 porting advice.
2016-10-14 13:59:58 -07:00
James Cammarata
0d5206f90c Don't mark parent role complete for nested include_role calls
The PlayIterator was written without nested roles in mind, but since
include_role can nest them we need to check to see if we've moved into
a new role which is a child via nesting.

Fixes #18026
2016-10-14 14:28:40 -05:00
Toshio Kuratomi
b8765d3d22 Update dev_guide with Python3 porting advice.
Also update the date that Python2.4 support will be dropped to say
Ansible-2.4 will no longer have python-2.4 support.
2016-10-14 12:18:04 -07:00
Matt Clay
7e2fc88218 Fix docs fragment typo. 2016-10-14 09:50:15 -07:00
Brian Coca
ff1e52184f Better error for bad role def 2016-10-14 11:38:09 -04:00
James Cammarata
6bdcb3a392 Make sure free strategy is returning proper TQM constants
Fixes #18023
2016-10-14 09:23:35 -05:00
John R Barker
9183bb6391 docs_fragments formatting and typo improvements (#17981) 2016-10-14 15:13:15 +01:00
John R Barker
0ef3ff6a9d Install dependencies for validate-modules (#18028)
Currently (pre-repomerge) we aren't running sanity.sh from
ansible/ansible, after the merge we will. Therefore I've added the
requirements here, rather than in ansible-modules-*/test/utils/shippable
2016-10-14 12:23:29 +01:00
scottb
61578c59b3 Merge pull request #17994 from bparry02/patch-1
Clarify description of fork
2016-10-13 18:31:02 -07:00
Brian Coca
b169a61c20 toggle missing handler errors/warnings via config 2016-10-13 16:54:02 -04:00
Michael Scherer
f6bcd0f9a1 Add support for distribution_major_version on NetBSD. (#15885) 2016-10-13 16:25:55 -04:00
Adrian Likins
8bf4aa97b0 Skip test_aws.py if boto3/botocore are missing (#17814) 2016-10-13 13:19:40 -07:00
Matt Clay
656b82417e Fix role path for generate-tests. 2016-10-13 13:04:48 -07:00
Matt Clay
05531b99d0 Restore README.rst, update and fix formatting. (#18012)
* Revert "Update validate-modules README and convert to MD. (#18008)"
* This reverts commit 4916fe9962.
* Fix formatting of README.rst.
2016-10-13 12:47:13 -07:00
Peter Sprygada
936bca9fc6 fixes issue when checking if sessions are supported (#18013)
the supports_sessions() call was sending the command as a string instead
of a list which is required when transport is eapi.  This fixes that bug
2016-10-13 15:46:39 -04:00
Peter Sprygada
b1666020a9 adds additional exception handling in open() (#18003)
The open() method will now catch a socket.timeout exception and raise
a ShellError.
2016-10-13 15:13:00 -04:00
Peter Sprygada
bce31a11c2 minor fix for checking kwargs in get_config() (#18002)
The get_config() method was checking for a nonexistent kwarg that would
cause an exception.  This fixes that problem.
2016-10-13 15:12:49 -04:00
Brian J. Dowling
2be2f35373 Quick ansible-doc fix -- don't run pager if there was an error (no text) 2016-10-13 15:10:47 -04:00
Matt Clay
4916fe9962 Update validate-modules README and convert to MD. (#18008) 2016-10-13 18:41:41 +01:00
Brian Coca
18d3e0533f always log unexpected exceptions 2016-10-13 13:34:01 -04:00
Brian Coca
cdb5a222c5 restored 'results' filters
tests do not work the same, restoring old filters to keep backwards compat
tests now only implment the new normalized 'tense'
2016-10-13 13:21:40 -04:00
Brian Coca
1e308a09e2 removed non-feature -include in requirements.txt (#17921)
fixes #17917
2016-10-13 13:11:17 -04:00
Matt Clay
c2ec86cb78 Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
Matt Clay
9182619fef Merge pull request #18001 from gundalow/validate-modules
Take ownership of ansible-validate-modules
2016-10-13 09:19:43 -07:00
Matt Clay
75e4645ee7 Migrate Linux CI roles to test targets. (#17997) 2016-10-13 09:09:25 -07:00
John Barker
2445ad72de Don't update submodules 2016-10-13 15:53:40 +01:00
John Barker
25286c3c7d README.rst to reference new name 2016-10-13 15:52:03 +01:00
John Barker
ef06b5501c Port sivel/ansible-validate-modules into Ansible 2016-10-13 14:36:22 +01:00
John R Barker
60e8cf9aa7 version_added for deprecated modules (#36)
* version_added for deprecated modules

Modules are deprecated by renaming so they start with "_".
This means we will not find an existing module with that
name, so look up the original name, i.e. without the leading '_'.

* Deal with aliased/symlinked modules
2016-10-13 14:22:34 +01:00
Adrian Likins
f883b33441 short_description is just basestring (#35)
As of ansible/ansible 883f451158
'short_description' value is expected to only be a string.

This should catch issues like
https://github.com/ansible/ansible/issues/17634
2016-10-13 14:22:34 +01:00
nitzmahone
3eec84b69a add async_status to PS module doc blacklist 2016-10-13 14:22:34 +01:00
Matt Clay
54118d45da Add blacklist/ignore for .idea dir. 2016-10-13 14:22:34 +01:00
Matt Clay
5d342050a6 Add shippable.yml to blacklist. (#32) 2016-10-13 14:22:34 +01:00
John R Barker
247066e6a8 Report missing ansible.module_utils.basic import as a warning (#31)
For new Networking modules we import via another library
See sivel/ansible-testing/issue/30
2016-10-13 14:22:34 +01:00
Matt Martz
43c028d52d options can be None, don't iterate None 2016-10-13 14:22:34 +01:00
Matt Martz
d777e217e7 Issues with pre-existing docs should not cause errors, only warnings 2016-10-13 14:22:34 +01:00
Matt Martz
aeb064520e When checking option version_added, if unexpected exception, continue 2016-10-13 14:22:34 +01:00
Toshio Kuratomi
d6ecdfd00a Blacklist __pycache__ directories 2016-10-13 14:22:34 +01:00
Matt Martz
3c02af6494 BLACKLIST_IMPORTS can be regex to making matching easier 2016-10-13 14:22:34 +01:00
Matt Martz
44fa8c1fb2 Add ability to analyze the argument_spec for a module 2016-10-13 14:22:34 +01:00
Matt Martz
7cc11e4ad5 mark requests and boto as blacklisted imports for new modules. Fixes #21 2016-10-13 14:22:34 +01:00
Matt Martz
9ce546d03e Don't check for basic.py redeclarations. Fixes #10 2016-10-13 14:22:34 +01:00
Matt Martz
b8b3003b29 Rework module_utils detection for zipmodule 2016-10-13 14:22:34 +01:00
Matt Martz
38464b1fdc Don't exit after individual file 2016-10-13 14:22:34 +01:00
Matt Martz
074661ef0e Make modules accept multiple paths 2016-10-13 14:22:34 +01:00
Matt Martz
a90e1c353e Drop bottom import checking. Fixes #22 2016-10-13 14:22:34 +01:00
Matt Martz
71562d83e1 Consolidate blackist imports, remove JSON import check. See #23 2016-10-13 14:22:34 +01:00