Rick Elrod
38b7ceb75a
Update docker.txt to use the OpenSUSE 15.1 container image (devel edition) ( #68785 )
...
* Update docker.txt to use the OpenSUSE 15.1 container image
Signed-off-by: Rick Elrod <rick@elrod.me>
* handle installing mysql on suse
Signed-off-by: Rick Elrod <rick@elrod.me>
* add changelog fragment
Signed-off-by: Rick Elrod <rick@elrod.me>
* Update changelogs/fragments/ansible-test-opensuse-15.1.yml
Co-Authored-By: Matt Clay <matt@mystile.com>
Co-authored-by: Matt Clay <matt@mystile.com>
2020-04-09 00:26:59 -07:00
Jordan Borean
6f8a1d083e
patch is in ansible.posix part deux ( #68796 )
2020-04-09 07:14:01 +01:00
Rick Elrod
9b43a57916
Add some missing dmi facts when we use dmidecode ( #68756 )
...
On OSes where we fall back to dmidecode (freebsd and linux currently),
add some missing fields that dmidecode provides when it is able.
Closes #59317 .
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-04-09 00:33:11 -05:00
Matt Clay
04edd77c42
Update tests to use RHEL 7.8. ( #68787 )
...
* Update tests to use RHEL 7.8.
Keeping support for RHEL 7.6 since collections are still using it.
* Fix tests for RHEL 7.7+ due to extras repo name change.
2020-04-08 21:09:52 -07:00
Matt Martz
a513a62536
Remove cgroup_perf_recap_graph.py, since that callback no longer exists here ( #68779 )
2020-04-08 14:04:53 -05:00
Chris Holland
c9c1146cc8
dnf: remove un-needed function ( #68482 )
2020-04-08 20:36:28 +02:00
Brian Coca
ba87c225cd
fixed fetch traversal from slurp ( #68720 )
...
* fixed fetch traversal from slurp
* ignore slurp result for dest
* fixed naming when source is relative
* fixed bug in local connection plugin
* added tests with fake slurp
* moved existing role tests into runme.sh
* normalized on action excepts
* moved dest transform down to when needed
* added is_subpath check
* fixed bug in local connection
fixes #67793
CVE-2019-3828
2020-04-08 14:28:51 -04:00
Matt Martz
087be1da50
Allow tasks to notify a fqcn handler name ( #68213 )
...
* Allow tasks to notify a fqcn handler name
* Add tests. Fixes #68181
* Add changelog fragment
* Add test to ensure handlers are deduped properly with fqcn, role, and just handler names
* Add some docs about new special vars
2020-04-08 11:36:38 -05:00
Toshio Kuratomi
4f8e98d322
Update changelogs/fragments/allow-fail-json-msg-to-be-positional.yaml
...
Co-Authored-By: Matt Martz <matt@sivel.net>
2020-04-08 07:56:11 -07:00
Toshio Kuratomi
e0e7713fd8
Fix yaml in changelog
2020-04-08 07:56:11 -07:00
Toshio Kuratomi
184f540056
Add some more unittests for fail_json
...
Test that order of msg as a keyword arg doesn't matter
2020-04-08 07:56:11 -07:00
Toshio Kuratomi
6531ba38f8
Allow the msg argument to fail_json() to be a positional argument
...
fial_json() requires a message be given to it to inform the end user of
why the module failed. Prior to this commit, the message had to be a
keyword argument:
module.fail_json(msg='Failed due to error')
Since this is a required parameter, this commit allows the message to be
given as a positional argument instead:
module.fail_json('Failed due to an error')
2020-04-08 07:56:11 -07:00
Matt Clay
148e83f832
Fix ansible-test submodule handling. ( #68759 )
...
* Refactor ansible-test integration test.
* Add env --list-files option.
* Add tests for collection files tracked by git.
* Fix ansible-test submodule usage on older git.
* Fix submodule directory detection as files.
* Improve handling of nested source control.
2020-04-08 01:15:49 -07:00
David Shrewsbury
d4d2c95819
Update team_openstack in botmeta ( #68679 )
...
* Update team_openstack in botmeta
* Also add an ignore for Shrews
2020-04-07 16:47:26 -05:00
Andrew Klychkov
598ead965d
Dev guide: add notes about different image types for integration and unit/sanity tests ( #68663 )
...
* Dev guide: add notes about different image types for integration and unit/sanity tests
* Update docs/docsite/rst/dev_guide/testing_integration.rst
Co-authored-by: Matt Clay <matt@mystile.com>
2020-04-07 09:17:44 -05:00
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>
2020-04-06 20:38:29 -05:00
Rick Elrod
4916be24fd
[git] make force=True apply to git fetches ( #68691 )
...
Fixes #67972
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-04-06 15:25:24 -05:00
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
2020-04-06 15:09:00 -05:00
Ken Dreyer
318d5606c1
doc: explain default "required" value for argument_spec ( #68678 )
2020-04-06 16:07:30 -04:00
nzarin
16e07fe5b5
Fix grammar error in docfile ( #68707 )
2020-04-06 16:03:17 -04:00
Rick Elrod
f50df67517
coverage for lookup_list ( #68683 )
...
* coverage for lookup_list
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-04-06 13:39:18 -05:00
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>
2020-04-06 11:18:48 -05:00
Sumit Jaiswal
f921b1e3bd
asa_facts ( #68076 )
2020-04-06 19:32:54 +05:30
Nilashish Chakraborty
e2b2de5827
Update BOTMETA for networking ( #68639 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2020-04-06 15:22:26 +05:30
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
2020-04-03 10:19:01 -04:00
Matt Martz
40d9650f20
Migrate apt_repo to community.general. Fixes #68637 ( #68641 )
2020-04-02 11:06:12 -05:00
Jordan Borean
ae1cd27b57
WebRequest - Fix use_proxy: no on module options ( #68603 )
...
* WebRequest - Fix use_proxy: no on module options
* Fix up changelog fragment
2020-04-02 07:17:50 +10:00
Jordan Borean
e785bdaa5b
Un-migrate url_windows doc fragment ( #68602 )
...
* Un-migrate url_windows doc fragment
* Removed from routing file
2020-04-02 05:20:49 +10:00
Matt Martz
f5178f9705
Reap collections changelog fragments - 5 ( #68618 )
...
* Reap collections changelog fragments - 5
* One more
2020-04-01 12:52:53 -05:00
Jake Jackson
f206af7a3a
chocolatey botmeta and routing changes ( #68598 )
2020-04-01 10:23:07 +01:00
Jordan Borean
6db66bcadd
Add relative module_util support for powershell ( #68321 )
...
* Add relative module_util support for powershell
* Added ansible-test classification support
2020-04-01 09:01:18 +10:00
Jordan Borean
a20a527014
ansible-galaxy - Fix tar path traversal issue during install - CVE-2020-10691 ( #68596 )
2020-04-01 06:39:02 +10:00
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
2020-03-31 15:25:20 -04:00
Andre Lehmann
a3d6b6bc48
Add pacman support to package_facts ( #66596 )
...
* Add pacman support
2020-03-31 13:03:54 -04:00
Rick Elrod
541384e7b7
coverage for lookup_config ( #68566 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-03-31 09:57:50 -05:00
Matt Clay
2b4ca69bc2
Add notifications to BOTMETA.yml.
2020-03-30 16:07:27 -07:00
Matt Clay
7323d5dd0d
Fix references to old egg-info directory.
2020-03-30 13:56:43 -07:00
Matt Martz
d8d7a30ea6
Reap collections changelog fragments - 4 ( #68570 )
...
* Reap collections changelog fragments - 4
* Reap collections changelog fragments - 4
2020-03-30 14:57:37 -05:00
Matt Martz
2c294d0cbf
Reap collections changelog fragments - 3 ( #68567 )
2020-03-30 14:28:50 -05:00
Matt Martz
af27d1a5ad
Reap collections changelog fragments - 2 ( #68565 )
2020-03-30 14:06:08 -05:00
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
2020-03-30 11:47:53 -05:00
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()
2020-03-30 11:26:33 -04:00
Matt Clay
0fb5593abf
Add initial ansible-test tests for collections. ( #68533 )
2020-03-29 09:04:27 -07:00
Matt Clay
735885d57c
Fix ansible-test requirements installation.
2020-03-29 08:46:25 -07:00
Matt Clay
c888035e02
Update Ubuntu 18.04 test container to 1.13. ( #68534 )
2020-03-28 17:35:21 -07:00
Rick Elrod
bd9e31fcb0
Add a custom policy for hackers using ansible-test ( #68535 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2020-03-28 17:07:29 -05:00
Matt Clay
7777189954
Revert "ansilbe-doc list collections plugins ( #67928 )"
...
This reverts commit 0f5a63f1b9
.
2020-03-28 11:21:08 -07:00
Brian Coca
0f5a63f1b9
ansilbe-doc list collections plugins ( #67928 )
...
Now -l and -F will list plugins from discover-able collections
2020-03-27 22:19:49 -04:00
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>
2020-03-27 22:09:51 -04:00
Rick Elrod
835ad75a0a
add test coverage for core filters ( #68518 )
...
Also remove now-useless exception handling.
2020-03-27 17:18:27 -07:00