Matt Clay
3f7bf0bcd4
ansible-test - Fix sanity traceback with `-e` opt ( #81271 )
...
Also remove redundant warning about missing programs.
Includes integration tests to verify `-e` does not traceback.
1 year ago
Martin Krizek
39ef570e16
Remove BOTMETA.yml and sanity tests for it ( #81198 )
1 year ago
Matt Clay
26cb1652bc
Add `docs` and `examples` to obsolete-files test ( #81258 )
1 year ago
moscaluc
479928c199
Add missing use case with module purge ( #81237 )
...
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Abhijeet Kasurde
c5e54be5ea
apt: Return calculated diff while running apt clean ( #81247 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Abhijeet Kasurde
c3015c5eb1
replace: handle exception while parsing escape char ( #81244 )
...
* replace: handle exception while parsing escape char
* Fail early when bad escape character is provided in replace module
Fixes : #79364
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Run tests in Python 3.6 or greater env
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
---------
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
flowerysong
d373ec572b
regex_replace: correct Python function in docs ( #81253 )
...
regex_replace calls re.sub()
1 year ago
Sviatoslav Sydorenko
b6ebb9d41a
Replace `reboot_command` integration test with unit tests ( #78956 )
...
Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
Brian Coca
ee12bafe48
deprecate 'smart' connection value ( #81218 )
...
Co-authored-by: Jordan Borean <jborean93@gmail.com>
1 year ago
Sloane Hertel
59a791ee3b
ansible-test - remove Fedora 37 container and remote support ( #81093 )
1 year ago
Jordan Borean
effb494db4
Update wait_for_connection to not reference configure script ( #81250 )
1 year ago
Matt Clay
08307de366
ansible-test - Remove obsolete WinRM setup script ( #81249 )
...
The WinRM setup is handled internally by ansible-core-ci now.
1 year ago
Abhijeet Kasurde
8edba0bb72
filter: add documentation for msg parameter ( #81110 )
...
* mandatory filter provides `msg` parameter. Document the same.
Fixes : #81105
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Matt Clay
b93a628aed
Omit hacking directory from MANIFEST.in ( #81245 )
...
* Omit `hacking` directory from `MANIFEST.in`
* Update package-data sanity test
1 year ago
Felix Fontein
3e3fb26b35
Use semantic markup for modules. ( #81190 )
1 year ago
Jesús Martínez Novo
f2ade88334
Fix yaml syntax in csvfile_lookup example ( #81221 )
...
Testing this example gives a parse error.
The correct syntax needs a colon for assignment, not equal sign
1 year ago
Abhijeet Kasurde
1ca03139cc
Update regex_* docs ( #81016 )
...
* Update regex_* docs
* Remove Python 3 regex link
* Added references to inline regex flags
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
1 year ago
Matt Clay
7c6564ad0e
Revert "define code owners to support branch-protection rules on docs ( #81041 )" ( #81228 )
...
This reverts commit 9117762358
.
1 year ago
Anoint
2915424541
Update env-setup.fish ( #81208 )
...
## Description
This commit includes improvements and optimizations to the script:
- Clarified the purpose of the quiet flag with a comment.
- Adjusted conditions for appending to PYTHONPATH and MANPATH variables.
- Enhanced Python executable check for reliability and cross-platform support.
- Improved comments and function clarity.
- Ensured consistency with the original code.
These changes enhance readability, efficiency, and maintainability of the script.
1 year ago
Matt Clay
876be11f8c
Add pymarkdown sanity test for core ( #81220 )
...
* Clean up markdown
* Add pymarkdown sanity test for core
* Update unit test SHA
1 year ago
Matt Clay
72e038e823
Remove `docs` and `examples` directories ( #81011 )
...
* Remove docs dir
* Updates to reflect docs removal
* Fix integration test
* Remove examples dir
* Updates to reflect examples removal
* Remove build_library and build-ansible.py
* Remove refs to build_library and build-ansible.py
* Remove obsolete template
* Remove obsolete template reference
* Remove the now obsolete rstcheck sanity test
1 year ago
Matt Clay
38e50c9f81
Convert non-docs *.rst files to *.md ( #81217 )
...
* Rename README.rst to README.md
* Change README format from reStructuredText to Markdown
* Fix whitespace in README.md
* Update setup.cfg to use README.md
* Replace changelog placeholder with README.md
* Update package-data sanity test
1 year ago
Felix Fontein
dce51f4ff4
Module docs fixes. ( #81213 )
1 year ago
Brian Coca
c7eca0e5c0
first_found lookup, let lookup handle templating errors ( #81178 )
...
* first_found lookup, let lookup handle templating errors
Avoids case in which TE was not sending valid and templatable entries to the lookup
The lookup already handles the case TE was attempting to itself, so no need for this code anymore.
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
1 year ago
Seige
5014a6025e
Add space to make linter happy ( #81175 )
1 year ago
Jordan Borean
c3f479e378
Add type annotation for connection plugins ( #78552 )
...
* Add type annotation for connection plugins
* Use new | syntax instead of Union/Optional
* Fix pep issue
* Use ParamSpec and other minor fixes
* Fix up ParmaSpec args and kwargs type
1 year ago
Sloane Hertel
67b78a17c4
Remove Python 3.9 support for the controller ( #80973 )
...
* Remove obsolete Python <=3.9 controller code
* Remove Python 3.9 test controller bootstrapping
* Update test requirements
Co-authored-by: Matt Clay <matt@mystile.com>
1 year ago
Don Naro
73b95db66b
fix doc report template ( #81202 )
...
* fix doc report template
* Update .github/ISSUE_TEMPLATE/documentation_report.yml
Co-authored-by: Sandra McCann <samccann@redhat.com>
---------
Co-authored-by: Sandra McCann <samccann@redhat.com>
1 year ago
Don Naro
faca205ca1
Add multirepo tip to doc issue report ( #81140 )
1 year ago
Felix Fontein
7cf15d0732
Use semantic markup for remaining plugins. ( #81189 )
...
also change `ansible_psrp_protocol` for `protocol` as what matters is the option itself, not what was used to set it
1 year ago
Martin Krizek
c3af71a2c8
dnf5: utilize automatic gpg check via transaction.run() ( #81144 )
...
https://github.com/rpm-software-management/dnf5/pull/607
1 year ago
Martin Krizek
eb19692f48
Properly disable modularity tests for dnf5 only ( #81195 )
1 year ago
Martin Krizek
7b2647f3b2
Re-introduce RHEL 9 modularity testing in CI ( #81160 )
1 year ago
Matt Clay
f4ff6768f3
ansible-test - Remove old pytest-forked constraint ( #81185 )
1 year ago
Matt Clay
3d2ff64264
ansible-test - Fix import sanity test for targets ( #81184 )
1 year ago
Martin Krizek
ca3ffbf4c2
ansible-test - remove test remotes: rhel 8.7/9.1 ( #81065 )
...
Fixes #80419
Fixes #80420
1 year ago
Brian Coca
ad0e082ac0
script inventory plugin, link to dev script howto docs ( #80796 )
1 year ago
Felix Fontein
5cf58f9a15
Use semantic markup for docs fragments ( #81152 )
1 year ago
Sloane Hertel
73dde45f0f
ansible-galaxy - add pre-release hint to dependency resolution error ( #81147 )
...
* add pre-release hint to dependency resolution error if --pre wasn't provided
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
1 year ago
Matt Clay
f1ddcb4ae4
Simplify release name tracking and testing ( #81151 )
...
Convert the release names list from YAML to plain text, removing the need for YAML parsing in the sanity test.
1 year ago
Matt Clay
8c9f5c9106
Remove unused unit test code ( #81150 )
1 year ago
Norman Ziegner
bcdb82992a
user - add parameter for password expiration warning days ( #79884 )
...
* user - add parameter to set number of warning days before password expires
Signed-off-by: Norman Ziegner <norman.ziegner@ufz.de>
1 year ago
Matt Clay
b06f7de24a
Remove unused strategy plugin unit tests ( #81146 )
1 year ago
Martin Krizek
0cc50e0673
dnf5: enable now implemented cacheonly functionality ( #81141 )
...
Note that this also fixes a traceback caused by backwards incompatible
change in dnf5 where cacheonly was changed from bool to string:
https://github.com/rpm-software-management/dnf5/pull/665/files#diff-ab65249ff7fccadfb2864b6826f6559f7f16fad43fd3bf2da0b4fe8db790d59aR179
1 year ago
Matt Clay
63946eaed6
Remove unreachable code in curses unit test ( #81138 )
1 year ago
Matt Clay
5f58775a1f
More unit test code coverage improvements ( #81136 )
1 year ago
steve12512
a5a4903b03
edited the documentation for 'groups' in user.py ( #81114 )
...
* edited the documentation for 'groups' in user.py
* Update user.py
1 year ago
Everson Leal
2f820381ea
Inventory Script Plugin: raise execution error ( #81104 )
...
It adds exception treatment when execute a inventory based on script with the --host argument
---------
Co-authored-by: Everson Leal <everson.leal@sonda.com>
1 year ago
Sloane Hertel
ed8a404f4a
add coverage for Python 3.12 ( #81125 )
1 year ago
Sloane Hertel
e780b5e56d
ansible-galaxy - add config option for the default ansible-galaxy timeout ( #81108 )
...
allow configuring the default server timeout via env/ini
1 year ago