Player256
ce5471fc9f
Update collection_integration_updating.rst ( #80037 )
2 years ago
nkakouros
998b5c1a06
Clarify when plugin settings are being populated ( #79710 )
2 years ago
Martin Krizek
6c3d2a4e51
Use FAs with inheritance only when applicable ( #80026 )
...
... and set default value of an attribute on an object
only in NonInheritableFA.
Fixes #79777
ci_complete
2 years ago
Gijikiki
ed879954f9
Update playbooks_tests.rst ( #79788 )
2 years ago
Matt Clay
5f6ebebce9
Update ansible-test openshift plugin tests ( #80064 )
...
Update ansible-test openshift plugin tests to use config to get server endpoint.
Also update the comment explaining why the tests are disabled.
2 years ago
devon-mar
1108c0f331
Fix markdown in changelog fragment ( #80065 )
2 years ago
Don Naro
9f02e505d9
add wheel to docsite pre-reqs #79513 ( #80061 )
2 years ago
Matt Clay
bca55d945b
ansible-test - Adjust vcenter test plugin behavior ( #80063 )
...
The previous change to the default mode of operation for the plugin is now limited to collections.
This enables easier testing of the plugin in core, so the previously removed tests have been restored.
2 years ago
Matt Clay
39a5b08ca6
ansible-test - Update base and default container ( #80058 )
2 years ago
Sviatoslav Sydorenko
c05d813661
Fix #80020 typos confusing `pylint` for `pytest` ( #80056 )
2 years ago
Matt Clay
ecf66c6f82
ansible-test - Update mypy and pylint requirements ( #80049 )
2 years ago
Matt Clay
5e3db6e441
ansible-test - Show Python version before install ( #80022 )
...
Always indicate the Python version being used before installing requirements.
2 years ago
Matt Clay
e6cffce0eb
ansible-test - Allow target prefixes to use `_` ( #80021 )
...
Integration test target prefixes defined in a `tests/integration/target-prefixes.{group}` file can now contain an underscore (`_`) character.
2 years ago
Matt Clay
fe2732b91e
ansible-test - Support pylint assertion rewriting ( #80020 )
...
Add support for `pylint` assertion rewriting when running unit tests on Python 3.5 and later.
2 years ago
devon-mar
2f8f7fba4c
Update lookup to use positional only arg for name to avoid conflicts ( #79839 )
2 years ago
Anže Luzar
122de95d85
Add Steampunk Spotter to Other tools list ( #80006 )
2 years ago
Miklos Sagi
b7ef2c1589
ansible-playbook -K breaks when passwords have quotes ( #79837 )
...
Now only 'unquote' when ini config file is the source
2 years ago
Matt Clay
72c59cfd98
Avoid trailing spaces in unit test ( #80033 )
2 years ago
Matt Clay
21fc699b77
Remove trailing spaces from lines in YAML ( #80032 )
2 years ago
Matt Clay
a4248a63aa
Add missing newlines to YAML files ( #80031 )
2 years ago
Sandra McCann
967a88963f
Update docs requirements to latest package versions ( #79930 )
...
Co-authored-by: Matt Clay <matt@mystile.com>
2 years ago
Sandra McCann
f841c2803a
update banner' ( #79971 )
2 years ago
Matt Martz
54ff9afa10
Data tagging delayed to 2.16 ( #80011 )
2 years ago
Jordan Borean
1e6b8249e7
Add condition that causes a when to skip a task to output msg ( #78918 )
...
* Add condition that causes a when to skip a task
* Fix up tests
* Use false_condition instead of failed_condition
* Remove formatting accidentially added
* Fix sanity
2 years ago
Martin Krizek
bd329dc543
Make using blocks as handlers a parser error ( #79993 )
...
Fixes #79968
2 years ago
Matt Clay
117cf0a44b
ansible-test - Disable the pep8 E203 rule ( #79966 )
...
The `E203` rule in `pycodestyle` is not fully PEP 8 compliant.
Disabling it provides compatibility with the output of the `black` code formatter.
2 years ago
Matt Clay
67d49734f7
ansible-test - Support Podman 4.4.0+
2 years ago
Matt Clay
930c2137d3
Revert "Disable F37 podman tests for ansible-test ( #79998 )"
...
This reverts commit 875a4ec242
.
2 years ago
Matt Clay
d67b436eba
ansible-test - Improve pylint backwards compat ( #79997 )
2 years ago
Matt Clay
875a4ec242
Disable F37 podman tests for ansible-test ( #79998 )
...
The recent update from podman 4.3.1 to 4.4.1 has broken container management.
Removing the tests from the CI matrix until the issue is resolved.
2 years ago
Alicia Cozine
75274021d3
fixes typo in Ansible 7 roadmap ( #79996 )
...
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
2 years ago
Alicia Cozine
0946ee2f14
adds roadmap for Ansible 8 ( #79598 )
2 years ago
Sloane Hertel
556dadba6d
user - fix comparing existing group names to group IDs ( #79981 )
2 years ago
Matt Clay
715ab99462
ansible-test - Improve code formatting ( #79983 )
...
* ansible-test - Add blank lines after docstrings
* ansible-test - Preserve formatting of arg pairs
* ansible-test - Remove unused string
* ansible-test - Remove pointless dict() usage
* ansible-test - Clean up initial func arg indenting
* ansible-test - Clean up constructor arg indenting
* ansible-test - Clean up func arg wrapping
* ansible-test - Clean up comma and paren placement
2 years ago
Matt Clay
43487c6581
ansible-test - Enable unused-import pylint rule ( #79912 )
...
This was previously enabled for core. This change enables it for collections.
2 years ago
Matt Clay
10bc8af5a2
ansible-test - Remove auto format pylint rule ( #79985 )
2 years ago
Brian Coca
e2f147bcec
ansible-inventory, add --limit option ( #79596 )
...
* ansible-inventory, add --limit option
* also graph
* optimize the when not providing limit
* added tests and clog
* avoid empty groups, fix tests
* i swear there as an ignore_errors there already!!?!?!?
* Fix stdout test fallback
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
* simpler approach using subset against inventory directly
* tyupose
* renamed funciton to what it actuall does
got yaml in line with others about removing empty groups
* have graph ignore limts, also note same for --host
* fixed typo long line
* better test
* cause hosvars are not a thing
---------
Co-authored-by: Matt Davis <6775756+nitzmahone@users.noreply.github.com>
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2 years ago
Matt Clay
58d84933fc
ansible-test - Clean up indentation and spaces ( #79980 )
2 years ago
Matt Clay
71f2e777ed
Update mypy to version 1.0.0 ( #79963 )
2 years ago
Sandra McCann
d47a848219
fix core devel doc output ( #79902 )
2 years ago
Mark Chappell
ceafb5411a
Add an integration test to ensure that defaults don't count towards mutually exclusive ( #79949 )
2 years ago
Sebastian Gumprich
b5ff981369
Change `yes` to `true` in uri-module ( #79934 )
2 years ago
Martin Krizek
d43d8274b1
Remove unneeded fallback code for nested defined/undefined tests ( #79960 )
...
* Remove unneeded fallback code for nested defined/undefined tests
The code used to handle defined/undefined tests on objects containing
nested undefined variables. Due to changes in lazy evalution of Jinja2
expressions it is no longer needed, see #56116 .
2 years ago
Matt Martz
243d1b5e3d
Replace deprecated stacked `@classmethod` and `@property` ( #79952 )
2 years ago
Martin Krizek
09e0fb3516
Change ansible_job_id format ( #79951 )
...
* Change ansible_job_id format
...to be something that does not resemble float or other type which
value could be changed by literal_eval that jinja2_native uses.
Specifically the format of '%d.%d' is converted from str to float and
then back to float which may result in truncating the number resulting
in the job not being found because the job id does not exist.
2 years ago
Matt Davis
e1d298ed61
don't ignore templated _raw_params that k=v parser failed to parse ( #79913 )
...
fixes #79862
2 years ago
Matt Clay
2525d0a136
basic.py - Perform Python version check earlier ( #79954 )
2 years ago
Matt Clay
e6900f5cad
pycompat24 - Remove support for Python <= 2.5 ( #79953 )
2 years ago
Sloane Hertel
fcdd7493ae
improve password_hash warning for unsupported algorithms ( #79872 )
...
* password_hash - give a warning for unsupported algorithms (that raise a TypeError)
* add suggested changes, a test and changelog
2 years ago
Matt Clay
9d65e122ff
Fix detection of available hashlib algorithms ( #79946 )
...
* Fix detection of available hashlib algorithms
Detection of hashlib algorithms now works on Python 3.x.
The new implementation works on Python 2.7 and later.
Test coverage is provided by both integration and unit tests.
* Add additional details about hashlib in docs
2 years ago