Felix Fontein
a5bb4c7dee
ansible-test - local change detection without --fork-point ( #79734 )
2 years ago
Abhijeet Kasurde
e88ff32b10
deb822_repository: use http-agent with open_url ( #80876 )
...
* Use http-agent in open_url API while getting
cloudflare content
Fixes : #80809
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Abhijeet Kasurde
9f4dfff69b
Pylint fixes ( #80855 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Abhijeet Kasurde
56f2e65ee7
Remove unused test files ( #80879 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Abhijeet Kasurde
c9f76f6d49
Remove unused import ( #80875 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Sloane Hertel
09b4cae4fb
unarchive - ensure src is an absolute path before picking handler ( #80738 )
2 years ago
Abhijeet Kasurde
d955fb1590
Removed unused `get_md5` parameter from stat ( #80871 )
...
* removed unused, undocumented `get_md5` parameter from stat module.
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Matt Martz
8652b231f2
Align yum_repository documentation with arguments ( #80867 )
2 years ago
Brent Barbachem
0c7361d9ac
URI Module find json sub type ( #80745 )
...
* uri: fixed search for json types to include strings in the format xxx/yyy+json
2 years ago
Abhijeet Kasurde
652ddc4078
Fix pylint disallowed-name errors ( #80854 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Matt Martz
61157f6a9e
Switch from multiprocessing.Queue to SimpleQueue ( #80838 )
2 years ago
Felix Fontein
9526338273
validate-modules and docsite build: bump antsibull-docs(-parser) dependencies to new major versions ( #80846 )
...
* Bump antsibull-docs-parser version to 1.0.0.
There are no functional changes that affect the functionality used in validate-modules.
* Bump antsibull-docs to 2.0.0.
2 years ago
Brian Coca
4899d4a4d6
simple skip of connection ( #80638 )
...
Avoid 'persistent' connection handling if not needed
removed useless connection passing
added property to action classes as indicator/selector
2 years ago
Jordan Borean
8db9bd7574
Remove deprecated include ( #80752 )
...
* Remove deprecated include
* Add tombstone entry for include
* Use string for date
* Use todays date
* Remove uneeded if statement
2 years ago
Jordan Borean
2253837453
command - Add option to disable argument var expansion ( #80512 )
...
* command - Add option to disable argument var expansion
* Use test char that isn't an escape sequence
2 years ago
Arne de Laat
070ce87440
Add test for symbolic to octal when others is omitted ( #80822 )
...
* Add test for symbolic to octal when others is omitted
Add case when there should be no permissions for other.
And specific permissions for owner and group.
* Fix permissions test by explicitly setting no permissions for others
* Add additional cases where multiple permissions are specified
2 years ago
Jordan Borean
0a36cd910e
Removed testing support for Server 2012 and 2012 R2 ( #80778 )
2 years ago
Jordan Borean
0df794e5a4
urls - remove deprecated client key calls ( #80751 )
2 years ago
Matt Clay
b16041f1a9
ansible-test - Fix traceback when mixing sources ( #80801 )
...
* ansible-test - Fix traceback when mixing sources
* ansible-test - Refactor layout error handling
2 years ago
Matt Clay
2fd64161c1
Fix hard-coded interpreter in test_async_wrapper ( #80816 )
2 years ago
Matt Clay
2ba24957dd
Use subset checks for some collection loader tests ( #80812 )
2 years ago
Brian Coca
0830b69059
config lookup, new option to show origin of value ( #80651 )
2 years ago
Martin Krizek
156493eed5
ansible-test - Add RHEL 9.2 support ( #80755 )
2 years ago
Matt Clay
aacab0633a
ansible-test - Fix handling of long timeouts ( #80769 )
2 years ago
Matt Clay
4c6aa70662
ansible-test - Fix timeout handling ( #80764 )
2 years ago
Matt Clay
fd341265d0
ansible-test - Avoid use of deprecated utcnow ( #80750 )
...
The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.
2 years ago
PRASOON KARUNAN V
b576f0cda7
fix error if path had wildcard in it ( #74723 )
...
* fix error if path had wildcard in it
* add test
* add changelog fragment
2 years ago
Abhijeet Kasurde
7ef8e0e102
Remove unnecessary test case in vault editor ( #80741 )
...
* Remove test_real_path_symlink test case
* Check if we do not get `-` return when some value other `-` is passed
Fixes : #80444
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2 years ago
Matt Clay
790e0b0983
ansible-test - Update the NIOS test container ( #80739 )
2 years ago
Brian Coca
5a84ff26df
first_found fix no terms option ( #76550 )
...
also fix bug with multiple items clobbering previous settings
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
2 years ago
Felix Fontein
70e0b1f544
docsite build: upgrade sphinx-ansible-theme and antsibull-core ( #80734 )
2 years ago
Matt Clay
cdeb607b1d
ansible-test - Always use unique container names ( #80724 )
2 years ago
Martin Krizek
8cd95a8e66
Account for overlays when interacting with Jinja envs ( #80705 )
...
Instead of using Templar.environment in Templar.do_template for
accessing/mutating the environment, myenv local variable should be used
because it is the environment used for actual templating. It can either
point to Templar.environment or newly created environment overlay.
Fixes #80605
2 years ago
Brian Coca
d12aa7f69c
Add FreeBSD 13.2 to ansible-test ( #80698 )
2 years ago
Matt Clay
2cd1744be3
Use ansible.module_utils.common.text.converters ( #80704 )
...
Replace use of old `ansible.module_utils._text` and add a unit test to maintain backwards compatibility.
2 years ago
Matt Clay
eea7137449
Fix os.walk issues in package-data sanity test ( #80703 )
2 years ago
Matt Clay
23e2ca91c2
Improve coverage of role unit tests ( #80695 )
2 years ago
Dmitriy Rabotyagov
7f48fa0129
Better parse virtualenv_command option for pip ( #80624 )
...
Atthe moment if a users wants to protect virtualenv_command by using
quotes around 'venv', module will fail out as literal parsing is used
at the moment. In order to imrpove things, argparse is leveraged to
parse out passed value to the virtualenv_command
Closes-Bug: #76372
Signed-off-by: Dmitriy Rabotyagov <noonedeadpunk@gmail.com>
2 years ago
Matt Clay
251360314d
Fix docs-build test to not mutate source tree ( #80689 )
2 years ago
Matt Clay
884215bd1c
Improve unit test code coverage ( #80683 )
2 years ago
Matt Clay
71f6e10dae
Use assertRaisesRegex in unit test ( #80663 )
2 years ago
Sloane Hertel
d18d4f84ec
_symbolic_mode_to_octal- fix raising ValueError for invalid symbolic modes ( #80449 )
...
validate the full user and perm strings instead of just first character
fixes unhelpful unarchive error for some invalid modes
2 years ago
Martin Krizek
ed749cf0a0
Remove deprecated FileLock class ( #80438 )
2 years ago
Martin Krizek
8754d8e1e1
ActionBase: remove deprecated _remote_checksum ( #80440 )
2 years ago
Matt Clay
4d25e3d54f
Set the minimum setuptools to 45.2.0 ( #80649 )
...
Also update the package-data sanity test to use the minimum setuptools version.
2 years ago
Landson Guo
ece8da71ea
Add TTY check and argument to disable it ( #50603 ) ( #68260 )
...
* Add TTY check and argument to disable it (#50603 )
* Fix formatting
* add changelog
* rename flag and updated help description
* add tests for tty check
* replace deprecated uses of assertRaisesRegexp to assertRaisesRegex
* fix yaml syntax
* shorten line 79
* Revert "replace deprecated uses of assertRaisesRegexp to assertRaisesRegex"
This reverts commit cea5fe1655
.
* change back to assertRaisesRegexp
2 years ago
Brian Coca
b2c0095722
Fix gather parallel ( #80597 )
...
* fix meaning of parallel in gather_facts
* Update docs with note about parallel not always being faster
* add 'smarter' usage of gahter_timeout for parallel tasks
* restore async when needed, not always
* added typing
* parallelism tests
2 years ago
Martin Krizek
1e8b889b93
Templar: remove deprecated shared_loader_obj param ( #80439 )
2 years ago
Matt Clay
5e220416a2
ansible-test - Update the default containers ( #80635 )
2 years ago
Matt Clay
372fc99686
ansible-test - Update pylint to 2.17.3 ( #80632 )
2 years ago