Peter Sprygada
1d240902c6
adds shared module shell for creating cli based transports
...
This commit add a new shared module shell that is used to build connections
to network devices that operate in a CLI environment. This commit supercedes
the issh.py and cli.py commits and removes them from module_utils.
2016-01-08 10:24:44 -05:00
Brian Coca
e6ee59fafe
Merge pull request #13683 from bcoca/reset_vars
...
added newer vars to 'reset_vars'
2015-12-28 12:45:58 -05:00
Brian Coca
56454d6a91
added newer vars to 'reset_vars'
...
these vars pass back info to the task about the connection
moved to their own block at start at file for readability and
added the newer standard vars
2015-12-28 12:25:27 -05:00
Brian Coca
2000566031
minor fix to become docs
2015-12-28 10:24:49 -05:00
Brian Coca
395bfec2f9
Merge pull request #13670 from stephen144/patch-1
...
intro_adhoc.rst: clarify idempotence explanation
2015-12-28 10:20:08 -05:00
Brian Coca
c489b271d1
updated release cycle to 4 months instead of 2
2015-12-27 14:18:07 -05:00
Toshio Kuratomi
d70a97b562
Update submodule refs
2015-12-25 12:17:22 -08:00
Toshio Kuratomi
e8a3e1310f
Merge pull request #13667 from ansible/f5-remove-global-ssl-disable
...
bigip changes as requested by bcoca and abadger:
2015-12-25 11:51:52 -08:00
Stephen Medina
cd9e18d0e5
clarify idempotence explanation
...
Small typo; wasn't sure what to replace it with.
2015-12-25 08:56:08 -08:00
Toshio Kuratomi
deac4d00b2
bigip changes as requested by bcoca and abadger:
...
* Fix to error if validate_cert is True and python doesn't support it.
* Only globally disable certificate checking if really needed. Use
bigip verify parameter if available instead.
* Remove public disable certificate function to make it less likely
people will attempt to reuse that
2015-12-24 11:49:31 -08:00
Brian Coca
fd7e01696f
updated submodule refs to pick up module changes
2015-12-23 17:16:21 -05:00
Brian Coca
db1d153aca
Merge pull request #13647 from bcoca/fix_role_search
...
corrected role path search order
2015-12-23 15:11:49 -05:00
Brian Coca
d89d7951e6
fixed tests to follow new invocation structure
...
also added maxdiff setting to see issues clearly when they happen
2015-12-23 11:45:07 -05:00
Brian Coca
9a118ce213
Merge pull request #13648 from bcoca/fix_invocation_and_moderrors
...
better module error handling
2015-12-23 10:42:40 -05:00
Brian Coca
b201cf2ee1
switched from pythonic None to generic null
2015-12-23 10:30:24 -05:00
Brian Coca
add3a2a2da
Merge pull request #13651 from mscherer/fix_python3
...
Fix last commit, make it python3 compatible
2015-12-23 10:22:15 -05:00
Brian Coca
d41ad29db0
Merge pull request #13649 from mattroberts297/patch-1
...
Update playbooks_intro.rst
2015-12-23 09:38:45 -05:00
Michael Scherer
42b9a206ad
Fix last commit, make it python3 compatible (and py24)
2015-12-23 13:24:11 +01:00
Matt Roberts
809c9af68c
Update playbooks_intro.rst
...
If you follow the documentation through in order you shouldn't have
read about modules yet.
2015-12-23 08:18:46 +00:00
Brian Coca
957b376f9e
better module error handling
...
* now module errors clearly state msg=MODULE FAILURE
* module's stdout and stderr go into module_stdout and module_stderr keys
which only appear during parsing failure
* invocation module_args are deleted from results provided by action
plugin as errors can keep us from overwriting and then disclosing info that
was meant to be kept hidden due to no_log
* fixed invocation module_args set by basic.py as it was creating different
keys as the invocation in action plugin base.
* results now merge
2015-12-22 23:01:56 -05:00
Brian Coca
202b92179d
corrected role path search order
...
the unfraking was matching roles in current dir as it always returns a full path,
pushed to the bottom as match of last resort
fixes #13645
2015-12-22 22:09:45 -05:00
Brian Coca
010839aedc
fix no_log disclosure when using aliases
2015-12-22 17:15:58 -05:00
Yannig Perré
b22d998d1d
Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638 .
2015-12-22 16:47:27 -05:00
Toshio Kuratomi
c4da5840b5
Convert to bytes later so that make_become_command can jsut operate on text type.
2015-12-22 08:22:02 -08:00
Toshio Kuratomi
b33f72636a
Also remove the bool casting function info (transparent to module writer now)
2015-12-22 07:25:50 -08:00
Toshio Kuratomi
b310d0ce76
Update the developing doc to modern method of specifying bool argspec values
2015-12-22 07:23:51 -08:00
Brian Coca
474772c81c
Merge pull request #13639 from emonty/bool-conversion
...
Also convert ints to bool for type=bool
2015-12-22 10:21:18 -05:00
Monty Taylor
c60749c922
Also convert ints to bool for type=bool
2015-12-22 09:14:12 -06:00
Toshio Kuratomi
0c013f592a
Transform the command we pass to subprocess into a byte string in _low_level-exec_command
2015-12-21 13:53:35 -08:00
James Cammarata
d22bbbf52c
Actually disable parallel makes for integration runner
2015-12-21 16:11:53 -05:00
James Cammarata
8119ea37af
Dropping instance size back down since we're not doing parallel builds
2015-12-21 15:55:43 -05:00
James Cammarata
45afa642c3
Integration test runner tweaks
2015-12-21 15:48:58 -05:00
James Cammarata
6d6822e66e
Kick up the integration runner test image size
2015-12-21 14:37:17 -05:00
James Cammarata
08b580decc
Parallelize make command for integration test runner
...
Also adds a new var, used by the prepare_tests role, to prevent it from
deleting the temp test directory at the start of each play to avoid any
potential race conditions
2015-12-21 14:10:23 -05:00
Brian Coca
eb16e11253
Merge pull request #13613 from azaghal/devel-13126-dig_lookup_documentation
...
Adding documentation for the 'dig' lookup (#13126 ).
2015-12-21 13:46:02 -05:00
Brian Coca
2281c455db
Merge pull request #13616 from resmo/for-ansible-stable-2.0
...
[stable-2.0] cloudstack: test_cs_instance: more integration tests
2015-12-21 13:45:29 -05:00
Brian Coca
75e94e0cba
allow for non standard hostnames
...
* Changed parse_addresses to throw exceptions instead of passing None
* Switched callers to trap and pass through the original values.
* Added very verbose notice
* Look at deprecating this and possibly validate at plugin instead
fixes #13608
2015-12-21 13:42:34 -05:00
Brian Coca
593d80c63d
role search path clarified
2015-12-21 13:15:12 -05:00
Yannig Perré
a4674906c6
Merge role params into variables separately from other variables
...
Fixes #13617
2015-12-21 13:03:09 -05:00
Brian Coca
e957335b0d
Merge pull request #13607 from mattclay/test-cache-typo
...
Fixed import typo for memcache module in tests.
2015-12-21 10:23:38 -05:00
James Cammarata
54455a06e5
Disable docker test for Fedora, due to broken packaging
2015-12-20 21:32:37 -05:00
James Cammarata
3a57d9472c
Save output of integration test results to files we can archive
2015-12-20 17:55:39 -05:00
Rene Moser
b85b92ecdd
cloudstack: test_cs_instance: more integration tests
...
cloudstack: extend test_cs_instance addressing recovering
cloudstack: test_cs_instance: add tests for using display_name as indentifier.
2015-12-20 22:37:48 +01:00
Toshio Kuratomi
6963955cb4
And change the task a little more since different shlex versions are handling the quotes differently
2015-12-20 11:51:32 -08:00
Toshio Kuratomi
21ca0ce1ce
Fix test playbook syntax
2015-12-20 11:46:49 -08:00
Toshio Kuratomi
3792a586b5
Since the velox test server seems to be dropping using iptables to drop requests from aws, test via a different website instead
2015-12-20 11:34:57 -08:00
Toshio Kuratomi
8d7892cc7b
Done troubleshooting
...
Revert "Troubleshooting has reduced us to this"
This reverts commit 9abef1a1d7
.
2015-12-20 11:34:57 -08:00
James Cammarata
6ae04c1e4f
Fix logic in PlayIterator when inserting tasks during rescue/always
...
Because the fail_state is potentially non-zero in these block sections,
the prior logic led to included tasks not being inserted at all.
Related issue: #13605
2015-12-20 12:39:08 -05:00
Toshio Kuratomi
5fef2c4297
Try updating the centos7 image to a newer version (trying to resolve issue being unable to connect to some webservers)
2015-12-20 09:11:53 -08:00
Toshio Kuratomi
b90506341a
Fixes for tests that assumed yum as package manager for systems that
...
have dnf
2015-12-20 08:06:26 -08:00