Matt Clay
27fe26edbf
Update setup_pexpect to prefer pip user installs.
...
This works around issues on RHEL 7.9 when an old version of pexpect is installed from an OS package.
3 years ago
Sloane Hertel
7657caa072
Fix 'ansible-galaxy collection verify' to display new files/dirs ( #76690 )
...
* Fix 'ansible-galaxy collection verify' to report files/directories not listed in the FILES.json
* changelog
* Fix bug in 2.13+
3 years ago
Martin Nečas
0d4219f265
Fix IPs for ipaddr filter in user_guide ( #77151 )
...
* Fix IPs for ipaddr filter in user_guide
* Apply suggestions from code review
Co-authored-by: Sandra McCann <samccann@redhat.com>
3 years ago
jbpratt
28a278ee48
fix spelling error in details ( #77152 )
...
correct inventory_hostname spelling error in include_vars and set_fact
modules
Signed-off-by: jbpratt <jbpratt78@gmail.com>
3 years ago
Sloane Hertel
c3999d89f4
Clarify docs for using tests as filters ( #77155 )
3 years ago
Matt Clay
43c2c983cc
Fix type hints in galaxy.
3 years ago
Andrew Klychkov
68601601ce
Docsite: update communication.rst ( #77135 )
...
\
3 years ago
Sandra McCann
22ba18d7b0
add links to remote_user docs ( #77140 )
...
* add links to remote_user docs
* shorten link name
3 years ago
Matt Clay
dc6b0d4857
ansible-test - Remove obsolete display of MAXFD.
...
Use of ``subprocess.MAXFD`` only worked on Python 2.x, which is no longer supported.
3 years ago
Elijah DeLee
3f924b59f2
use same timeout for galaxy api interactions ( #77088 )
...
Also, bump the default. A number of people have reported problems with
this 20 second timeout for a couple of years on
https://github.com/ansible/galaxy/issues/2302
It is mentioned in the issue that resolving dns can sometimes take up to
30 seconds, and that this timeout includes dns resolution.
Includes a changelog message
3 years ago
Abhijeet Kasurde
4f48f375a0
parameters: handle blank values when argument is a list ( #77119 )
...
Fixes : #77108
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Emmanuel Benoît
d60efd9768
hostname module - fix TypeError in FileStrategy ( #77025 ) ( #77074 )
...
* Use file_get_content() to read the file containing the host name
3 years ago
Sandra McCann
6a7009a84f
use present tense in changelog example ( #77138 )
3 years ago
Matt Clay
749063968b
Temporarily remove RHEL 9.0b from the test matrix.
...
AppStream modules are currently missing.
3 years ago
Sandra McCann
5f258d2c64
move collection pr quickstart over ( #77087 )
...
* move collection pr quickstart over
* add link
* fix CI
* fix formatting
3 years ago
Aine Riordan
71dfe32ab6
76134 DOCS:Uninstall all packages before Ubuntu reinstall ( #77137 )
3 years ago
Günter Grodotzki
0bb70b6b9f
AL2022 package-manager detection support (Amazon Linux) ( #77050 )
...
* AL2022 package-manager detection support (Amazon Linux)
* try/except
* use major_version
* check if dnf exists + add changelog fragment
* analogue logic
3 years ago
Matt Clay
3f0d5bc351
Fix LooseVersion and StrictVersion refs in docs.
3 years ago
Matt Martz
bdf37336c8
Update pylint deprecated plugin to use ansible-invalid* symbols ( #77086 )
3 years ago
Brian Coca
143904f49b
More informative playbook attribute errors ( #77082 )
...
* More informative playbook attribute errors
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
3 years ago
Matt Martz
8cbe1435c2
Use full python package for ansiballz cache filenames ( #77090 )
...
* Use full python package for ansiballz cache filenames
* Be a little more explicit about test goals
3 years ago
Matt Clay
4f9c7fd509
ansible-test - Remove validate-modules symlink.
3 years ago
Matt Clay
1a5853d794
Remove obsolete units.compat.mock compat layer. ( #77118 )
...
* Remove obsolete units.compat.mock compat layer.
* Update remaining units.compat.mock references.
3 years ago
Matt Clay
5a6e05affb
More strict pylint checking of ansible-test code.
3 years ago
Matt Clay
b613808277
Remove obsolete unit test builtins compat.
3 years ago
Matt Clay
2cd6cdc6a7
Fix duplicate unit test function names. ( #77115 )
...
* Fix duplicate unit test function names.
* Disable faulty tests.
3 years ago
Matt Clay
0bd8106d15
Remove unused mock compat code.
...
The code is unreachable since Python 3 versions before 3.5 are not supported.
3 years ago
Sandra McCann
30d1a93d93
update changelog fragment guidance with examples ( #77040 )
...
Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
3 years ago
David Moreau Simard
36121aeee7
docs: Update porting guide for ansible 5.4.0 ( #77107 )
3 years ago
Matt Clay
0f41682473
Remove use of distutils in docs Makefile.
...
The current usage only works if `python` is Python 2.x since the syntax is invalid on Python 3.x.
When running on Python 3.x it would either be missing, or if Python 2.x was also present, incorrect.
3 years ago
Felix Fontein
ff25b51178
Fix example return value in docstring. ( #77076 )
3 years ago
Sandra McCann
b2bafc054e
remove list of container images ( #77089 )
...
* remove list of container images
* remove some more centos8
3 years ago
Matt Clay
92800a04c2
Add missing integration test dependency.
3 years ago
Sloane Hertel
88bfb7193e
Use --no-deps when installing amazon.aws and not testing dependencies ( #77091 )
3 years ago
Sandra McCann
901e3d43b1
describe how to generate a sample ansible.cfg ( #77053 )
...
* describe how to generate a sample ansible.cfg
* correct commands used
3 years ago
Matt Clay
de9a3bda2c
Fix warning in unit tests for _yaml import.
3 years ago
Matt Clay
d3d5244912
ansible-test - Fail sanity test on distutils use.
3 years ago
Matt Clay
c1a271c792
Remove unused task from template integration test.
3 years ago
Matt Clay
d286c2e8b3
ansible-test - Fix CParser import in yamllint.
3 years ago
Matt Clay
c27fd777f4
ansible-test - Use quay.io containers in plugins.
3 years ago
Matt Clay
addb9baec2
ansible-test - Clean up venv code.
3 years ago
Pablo Escobar Lopez
f2612ce169
apply owner/group permissions to top folder with unarchive module ( #73024 )
...
* apply owner/group permissions to top folder
* remove unused var unarchive30
* fix permissions for top folders if the tarball include multiple top folders
* added test for top folder ownership
3 years ago
Brian Coca
84b85a5b5a
more explicit moustache docs ( #77051 )
3 years ago
Sandra McCann
e620b96f49
Create collection maintainer's guide ( #76976 )
...
* initial merge of maintainer guide
* Apply suggestions from code review
Co-authored-by: Aine Riordan <44700011+ariordan-redhat@users.noreply.github.com>
Co-authored-by: Aine Riordan <44700011+ariordan-redhat@users.noreply.github.com>
3 years ago
Matt Clay
177336a9d3
Avoid system-site-packages in AZP coverage venvs.
...
The use of `--venv-system-site-packages` was an optimization to use the `coverage` package pre-installed in the AZP test container.
However, now that the venv is bootstrapped by ansible-test that optimization no longer makes sense, since other downloads are already taking place.
ci_coverage
ci_complete
3 years ago
Matt Clay
13d5381e56
ansible-test - Update base and default containers. ( #77033 )
3 years ago
Matt Martz
494cb4e211
Ensure tests that need to validate higher verbosity messages run with vvvv
3 years ago
gcagle3
c688eb824b
Add basic support for "apt-get clean" operation to apt module ( #76758 )
...
* adding apt-get clean functionality
documentation and example
3 years ago
Matt Clay
68fb3bf90e
ansible-test - Fix consistency of managed venvs. ( #77028 )
3 years ago
Matt Clay
fb01616c5a
Revert "Temporarily remove RHEL 9.0b from test matrix."
...
This reverts commit a5eadaf3fd
.
3 years ago