Rick Elrod
13aef3c2e5
Add --docker-terminate flag to ansible-test ( #68688 )
...
* Add --docker-terminate flag to ansible-test
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod
4916be24fd
[git] make force=True apply to git fetches ( #68691 )
...
Fixes #67972
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Matt Martz
123c624b28
Always set the discovered interpreter on the delegated host ( #64906 )
...
* Always set the discovered interpreter on the delegated host. Fixes #63180
* Make code a little more generic
* Move code into a function
* Implement some changes based on reviews
* Add changelog fragment
5 years ago
Ken Dreyer
318d5606c1
doc: explain default "required" value for argument_spec ( #68678 )
5 years ago
nzarin
16e07fe5b5
Fix grammar error in docfile ( #68707 )
5 years ago
Rick Elrod
f50df67517
coverage for lookup_list ( #68683 )
...
* coverage for lookup_list
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod
82c60db49b
pip - Fix check_mode for prerelease packages ( #68690 )
...
* pip - Fix check_mode for prerelease packages
Fixes #68592 .
Signed-off-by: Rick Elrod <rick@elrod.me>
Co-authored-by: Matt Martz <matt@sivel.net>
5 years ago
Sumit Jaiswal
f921b1e3bd
asa_facts ( #68076 )
5 years ago
Nilashish Chakraborty
e2b2de5827
Update BOTMETA for networking ( #68639 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
5 years ago
Brian Coca
28f9fbdb5e
safely use vault to edit secrets ( #68644 )
...
* when possible, use filedescriptors from mkstemp to avoid race
* when using path strings, ensure we are always creating the file
CVE-2020-1740
Fixes #67798
Co-authored-by: samdoran
5 years ago
Matt Martz
40d9650f20
Migrate apt_repo to community.general. Fixes #68637 ( #68641 )
5 years ago
Jordan Borean
ae1cd27b57
WebRequest - Fix use_proxy: no on module options ( #68603 )
...
* WebRequest - Fix use_proxy: no on module options
* Fix up changelog fragment
5 years ago
Jordan Borean
e785bdaa5b
Un-migrate url_windows doc fragment ( #68602 )
...
* Un-migrate url_windows doc fragment
* Removed from routing file
5 years ago
Matt Martz
f5178f9705
Reap collections changelog fragments - 5 ( #68618 )
...
* Reap collections changelog fragments - 5
* One more
5 years ago
Jake Jackson
f206af7a3a
chocolatey botmeta and routing changes ( #68598 )
5 years ago
Jordan Borean
6db66bcadd
Add relative module_util support for powershell ( #68321 )
...
* Add relative module_util support for powershell
* Added ansible-test classification support
5 years ago
Jordan Borean
a20a527014
ansible-galaxy - Fix tar path traversal issue during install - CVE-2020-10691 ( #68596 )
5 years ago
Brian Coca
8c044b846d
add collection plugin listing to ansible-doc ( #68522 )
...
- listing from collections
- able to filter by namespace or collection
- masks dupes just as normal collection loading does
5 years ago
Andre Lehmann
a3d6b6bc48
Add pacman support to package_facts ( #66596 )
...
* Add pacman support
5 years ago
Rick Elrod
541384e7b7
coverage for lookup_config ( #68566 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Matt Clay
2b4ca69bc2
Add notifications to BOTMETA.yml.
5 years ago
Matt Clay
7323d5dd0d
Fix references to old egg-info directory.
5 years ago
Matt Martz
d8d7a30ea6
Reap collections changelog fragments - 4 ( #68570 )
...
* Reap collections changelog fragments - 4
* Reap collections changelog fragments - 4
5 years ago
Matt Martz
2c294d0cbf
Reap collections changelog fragments - 3 ( #68567 )
5 years ago
Matt Martz
af27d1a5ad
Reap collections changelog fragments - 2 ( #68565 )
5 years ago
Matt Martz
5c7746e521
Remove changelog entries related to content that has migrated to collections ( #68498 )
...
* Reap changelog fragments
* remove changelogs/fragments/60510-k8s-apply-check-mode.yml
* Reap more
* Reap a few more
5 years ago
Nathaniel Case
5f6427b1fc
Fix missing persistent connection messages ( #68496 )
...
* Be more proactive about returning module messages
* Move message display to a function, and replace handling already in shutdown()
5 years ago
Matt Clay
0fb5593abf
Add initial ansible-test tests for collections. ( #68533 )
5 years ago
Matt Clay
735885d57c
Fix ansible-test requirements installation.
5 years ago
Matt Clay
c888035e02
Update Ubuntu 18.04 test container to 1.13. ( #68534 )
5 years ago
Rick Elrod
bd9e31fcb0
Add a custom policy for hackers using ansible-test ( #68535 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Matt Clay
7777189954
Revert "ansilbe-doc list collections plugins ( #67928 )"
...
This reverts commit 0f5a63f1b9
.
5 years ago
Brian Coca
0f5a63f1b9
ansilbe-doc list collections plugins ( #67928 )
...
Now -l and -F will list plugins from discover-able collections
5 years ago
Brian Coca
1570098e86
fallback to uid when no uname ( #68466 )
...
* fallback to uid when no uname
fixes #68007
Co-Authored-By: Matt Clay <matt@mystile.com>
5 years ago
Rick Elrod
835ad75a0a
add test coverage for core filters ( #68518 )
...
Also remove now-useless exception handling.
5 years ago
Graham Mainwaring
2068131589
Fix colorization to not extend across newline boundary ( #68517 )
...
* Fix colorization to not extend across newline boundary
* Fix unit test to look for the newline outside the coloration
* Add changelog fragment
5 years ago
Matt Clay
53a3d1ffdb
Fix ansible-test change detection traceback.
5 years ago
Matt Clay
d8b5c11a63
Report error for coverage 5+ in ansible-test.
5 years ago
Matt Clay
27fc049993
Fix ansible-test code coverage collection. ( #68502 )
...
The last task in a play should now properly report code coverage.
This change should also eliminate empty coverage files, as well as incomplete coverage files resulting from early worker termination.
5 years ago
Matt Clay
6a7e438012
Fix code coverage in tests.
...
Code coverage < 5 must be used.
ci_coverage
5 years ago
Rick Elrod
3c3ffc09c2
Fix and add tests for some module_utils.common.validation ( #67771 )
...
* Fix test_check_mutually_exclusive exception-checking
Asserting inside of the `with` context of `pytest.raises`
doesn't actually have any effect. So we move the assert
out, using the exception that gets placed into the scope
after we leave the context, and ensure that it actually gets
checked.
This is also what the pytest documentation says to do:
https://docs.pytest.org/en/latest/assert.html#assertions-about-expected-exceptions
Signed-off-by: Rick Elrod <rick@elrod.me>
* Add some tests for check_required_together
Signed-off-by: Rick Elrod <rick@elrod.me>
* use to_native instead of str, for consistency
Signed-off-by: Rick Elrod <rick@elrod.me>
* Add newlines for pep8
Signed-off-by: Rick Elrod <rick@elrod.me>
* Add tests for check_required_arguments
Signed-off-by: Rick Elrod <rick@elrod.me>
* Sort missing keys in error message, since hashes are unsorted and this can be random
Signed-off-by: Rick Elrod <rick@elrod.me>
* Add changelog entry
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Rick Elrod
2af76f16be
Unify yaml style in unarchive tests to be dict-style (refs #68272 ) ( #68477 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
5 years ago
Jeff Geerling
cfc9b4a1e2
Add Kubernetes Working Group to Communicating guide. ( #68028 )
5 years ago
Jill R
01269f57a7
Rename AWS collections ( #68476 )
...
Both AWS collections have been renamed due to restrictions on the
ansible collections namespace. Update botmeta and routing.yml for
the new paths.
5 years ago
John Mahowald
db01053d6a
Remove reference to core Ansible ( #68462 )
5 years ago
Matt Clay
4fc10186b9
Move coding guidelines links to readme. ( #68479 )
5 years ago
Sloane Hertel
5945415398
fix using inventory and cache plugins in a collection ( #56469 )
...
* Allow custom inventory plugins and cache plugins
If _load_name is not set correctly the cache plugin can't load the documentation (which is also the arg spec)
Fix the existing inventory plugin in the collections tests
Add integration tests for using a cache plugin in a collection
* Set the attribute on the instance instead of the class
Deprecate importing custom CacheModules directly - they should use the cache_loader
5 years ago
Toshio Kuratomi
2268a37d4d
Rename package to ansible-base
5 years ago
Matt Clay
c61f141bbc
Remove obsolete Makefile targets and logic.
5 years ago
Matt Clay
206896e9b2
Cleanup refs to deleted files/dirs. ( #68480 )
...
* Remove deleted contrib dir from MANIFEST.in
* Update package-data sanity test.
Remove deleted files and directories.
* Remove aws_config dirs.
5 years ago