Matt Clay and GitHub
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.
2023-07-14 15:50:14 -07:00
Martin Krizek and GitHub
39ef570e16
Remove BOTMETA.yml and sanity tests for it ( #81198 )
2023-07-14 14:03:52 +02:00
Matt Clay and GitHub
26cb1652bc
Add docs and examples to obsolete-files test ( #81258 )
2023-07-13 16:20:37 -07:00
479928c199
Add missing use case with module purge ( #81237 )
...
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
2023-07-13 15:47:06 -07:00
Abhijeet Kasurde and GitHub
c5e54be5ea
apt: Return calculated diff while running apt clean ( #81247 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com >
2023-07-14 05:27:05 +10:00
Abhijeet Kasurde and GitHub
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 >
2023-07-14 05:25:08 +10:00
flowerysong and GitHub
d373ec572b
regex_replace: correct Python function in docs ( #81253 )
...
regex_replace calls re.sub()
2023-07-13 10:51:06 -07:00
b6ebb9d41a
Replace reboot_command integration test with unit tests ( #78956 )
...
Co-authored-by: Matt Clay <matt@mystile.com >
2023-07-13 19:26:21 +02:00
ee12bafe48
deprecate 'smart' connection value ( #81218 )
...
Co-authored-by: Jordan Borean <jborean93@gmail.com >
2023-07-13 12:57:26 -04:00
Sloane Hertel and GitHub
59a791ee3b
ansible-test - remove Fedora 37 container and remote support ( #81093 )
2023-07-13 08:50:15 -04:00
Jordan Borean and GitHub
effb494db4
Update wait_for_connection to not reference configure script ( #81250 )
2023-07-13 17:12:19 +10:00
Matt Clay and GitHub
08307de366
ansible-test - Remove obsolete WinRM setup script ( #81249 )
...
The WinRM setup is handled internally by ansible-core-ci now.
2023-07-12 19:52:49 -07:00
Abhijeet Kasurde and GitHub
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 >
2023-07-12 16:02:56 -07:00
Matt Clay and GitHub
b93a628aed
Omit hacking directory from MANIFEST.in ( #81245 )
...
* Omit `hacking` directory from `MANIFEST.in`
* Update package-data sanity test
2023-07-12 14:43:08 -07:00
Felix Fontein and GitHub
3e3fb26b35
Use semantic markup for modules. ( #81190 )
2023-07-12 10:06:32 -04:00
Jesús Martínez Novo and GitHub
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
2023-07-12 09:57:48 -04:00
Abhijeet Kasurde and GitHub
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 >
2023-07-11 19:38:36 -07:00
Matt Clay and GitHub
7c6564ad0e
Revert "define code owners to support branch-protection rules on docs ( #81041 )" ( #81228 )
...
This reverts commit 9117762358 .
2023-07-11 16:27:29 -07:00
Anoint and GitHub
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.
2023-07-11 16:16:14 -07:00
Matt Clay and GitHub
876be11f8c
Add pymarkdown sanity test for core ( #81220 )
...
* Clean up markdown
* Add pymarkdown sanity test for core
* Update unit test SHA
2023-07-11 14:40:47 -07:00
Matt Clay and GitHub
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
2023-07-11 12:40:06 -07:00
Matt Clay and GitHub
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
2023-07-11 11:42:40 -07:00
Felix Fontein and GitHub
dce51f4ff4
Module docs fixes. ( #81213 )
2023-07-11 12:10:16 -04:00
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 >
2023-07-11 11:48:33 -04:00
Seige and GitHub
5014a6025e
Add space to make linter happy ( #81175 )
2023-07-11 11:41:27 -04:00
Jordan Borean and GitHub
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
2023-07-11 11:23:57 +10:00
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 >
2023-07-10 12:01:47 -04:00
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 >
2023-07-10 11:56:44 -04:00
Don Naro and GitHub
faca205ca1
Add multirepo tip to doc issue report ( #81140 )
2023-07-10 10:40:47 -04:00
Felix Fontein and GitHub
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
2023-07-10 09:30:33 -04:00
Martin Krizek and GitHub
c3af71a2c8
dnf5: utilize automatic gpg check via transaction.run() ( #81144 )
...
https://github.com/rpm-software-management/dnf5/pull/607
2023-07-10 15:19:17 +02:00
Martin Krizek and GitHub
eb19692f48
Properly disable modularity tests for dnf5 only ( #81195 )
2023-07-10 10:51:05 +02:00
Martin Krizek and GitHub
7b2647f3b2
Re-introduce RHEL 9 modularity testing in CI ( #81160 )
2023-07-10 09:54:36 +02:00
Matt Clay and GitHub
f4ff6768f3
ansible-test - Remove old pytest-forked constraint ( #81185 )
2023-07-07 13:10:42 -07:00
Matt Clay and GitHub
3d2ff64264
ansible-test - Fix import sanity test for targets ( #81184 )
2023-07-06 22:57:10 -07:00
Martin Krizek and GitHub
ca3ffbf4c2
ansible-test - remove test remotes: rhel 8.7/9.1 ( #81065 )
...
Fixes #80419
Fixes #80420
2023-07-06 11:25:57 -07:00
Brian Coca and GitHub
ad0e082ac0
script inventory plugin, link to dev script howto docs ( #80796 )
2023-07-06 10:26:06 -04:00
Felix Fontein and GitHub
5cf58f9a15
Use semantic markup for docs fragments ( #81152 )
2023-07-06 09:41:24 -04:00
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 >
2023-06-30 10:36:12 -04:00
Matt Clay and GitHub
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.
2023-06-29 10:18:15 -07:00
Matt Clay and GitHub
8c9f5c9106
Remove unused unit test code ( #81150 )
2023-06-28 16:26:00 -07:00
Norman Ziegner and GitHub
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 >
2023-06-28 17:36:35 -04:00
Matt Clay and GitHub
b06f7de24a
Remove unused strategy plugin unit tests ( #81146 )
2023-06-28 12:07:25 -07:00
Martin Krizek and GitHub
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
2023-06-28 16:05:59 +02:00
Matt Clay and GitHub
63946eaed6
Remove unreachable code in curses unit test ( #81138 )
2023-06-27 23:24:42 -07:00
Matt Clay and GitHub
5f58775a1f
More unit test code coverage improvements ( #81136 )
2023-06-27 17:38:35 -07:00
steve12512 and GitHub
a5a4903b03
edited the documentation for 'groups' in user.py ( #81114 )
...
* edited the documentation for 'groups' in user.py
* Update user.py
2023-06-27 11:03:20 -04:00
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 >
2023-06-26 17:29:59 -04:00
Sloane Hertel and GitHub
ed8a404f4a
add coverage for Python 3.12 ( #81125 )
2023-06-26 10:38:22 -07:00
Sloane Hertel and GitHub
e780b5e56d
ansible-galaxy - add config option for the default ansible-galaxy timeout ( #81108 )
...
allow configuring the default server timeout via env/ini
2023-06-26 13:10:41 -04:00