Brian Coca
38d0f77a0f
include_role now allows duplicates by default
...
setting is overridable by user
2016-10-18 11:14:10 -04:00
Toshio Kuratomi
ea479001f0
Update submodule ref
2016-10-18 07:22:31 -07:00
Alex
40cb621f0e
Fix styling ( #18081 )
2016-10-18 14:19:47 +02:00
Michael Scherer
5215832f15
Make the test run when used on a local system ( #18050 )
...
ANSIBLE_ROLES_PATH is relative to the config directory, if found. Use an absolute path instead.
2016-10-17 20:32:50 -07:00
Toshio Kuratomi
7e0bd5632d
epdb doesn't work on python3 so we need a different package to test pip
2016-10-17 18:44:51 -07:00
Toshio Kuratomi
60acfd1e87
Fix ansible-pull on python3
...
On python3, we can't write bytes directly to sys.stdout.
2016-10-17 16:31:08 -07:00
Toshio Kuratomi
fd14048d46
Thanks to mscherer, these tests are now passing
2016-10-17 15:39:30 -07:00
Toshio Kuratomi
2b105ec7ab
Update submodule refs
2016-10-17 14:21:31 -07:00
James Cammarata
5be2a3a9e0
Break out of linear strategy if all hosts are failed and the result is not OK
...
Fixes #18021
2016-10-17 16:00:04 -05:00
Thilo Uttendorfer
5ece97ae5b
Fix call of wrong super class
...
Added a basic test
2016-10-17 14:53:03 -04:00
Brian Coca
04b86df815
updated pbrun test to match expected output
2016-10-17 14:41:23 -04:00
Aaron Bieber
3fc1b4da53
Remove -b option from pbrun.
...
The -b option reads as follows:
` The target job is directed to ignore hangup signals. This is particularly
useful for running the target program in the background.`
If needed, '-b' can be added to become_flags
Squashed commit of the following:
commit f2c9f5c011ae8be610301d597a34bfba1a391e08
Author: Aaron Bieber <aaron@bolddaemon.com>
Date: Mon Oct 17 10:58:14 2016 -0600
remove pbrun flags
commit f402679ac177c931ad64bd13306f62512a14fcd6
Author: Aaron Bieber <aaron@bolddaemon.com>
Date: Fri Oct 14 15:29:29 2016 -0600
use Password: vs assword: for matching pbrun prompt
commit cd2e90cb65854c4cc5dd8773404e520d40f82765
Author: Aaron Bieber <aaron@bolddaemon.com>
Date: Fri Oct 14 15:28:58 2016 -0600
move -b to pbrun_flags
2016-10-17 14:40:11 -04:00
Andrew Gaffney
194c9c41eb
Fix search path for relative paths in roles ( fixes #17877 )
...
(cherry picked from commit 72f0aaf606aa3399c0713ad1eaac394c3846813c)
2016-10-17 11:21:46 -04:00
Brian Coca
9bdde13126
fixes to ansible_search_path
...
now gets basedir (no need to frontload as dwim already does that)
added comment about basedir to search_path usage to avoid dupes
2016-10-17 11:21:46 -04:00
Brian Coca
7d9d009189
avoid errors when dynamic role
2016-10-17 11:21:46 -04:00
Toshio Kuratomi
4ce0cf57b6
Update submodule refs
2016-10-17 08:15:33 -07:00
John R Barker
d9b570aaae
Location of Network Tests ( #18048 )
2016-10-16 11:01:04 +01:00
Robin Roth
3922328954
Allow unicode inventory filename
...
Fixes #17932
2016-10-15 16:54:51 -07:00
Will Thames
c661f9f561
Module examples should be in YAML format
...
Given that Ansible best practices say to use YAML format, our
documentation should not make the excuse that it's too hard,
but rather represent examples in YAML format.
This will allow those using the examples to instantly see
best practices
2016-10-15 16:51:54 -07:00
Bill Nottingham
77e7ae6838
Change <support@ansible.com> - it's being retired.
2016-10-15 16:42:13 -07:00
Toshio Kuratomi
f24c10c32b
Fixes to handle non-ascii become passwords
...
Fixes for non-ascii passwords on
* both python2 and python3,
* local and paramiko_ssh (ssh tested working with these changes)
* sudo and su
Fixes #16557
2016-10-15 16:25:19 -07:00
Toshio Kuratomi
efc5dac52c
Fix become password using non-ascii for local connection
...
Fixes #18029
2016-10-15 11:26:17 -07:00
Toshio Kuratomi
e9e7967dd0
Update extras submodule ref to pull in misc's py3 fixes
2016-10-15 09:17:49 -07:00
Toshio Kuratomi
91c1fdec3d
unarchive tests now pass on python3
2016-10-15 08:50:13 -07:00
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