Jordan Borean and GitHub
c2a3cad466
Remove duplicate winrm test ( #82124 ) ( #82127 )
...
(cherry picked from commit f8a9fd4758 )
2023-11-27 08:22:29 -08:00
Jordan Borean and GitHub
e856696f09
ansible-galaxy - fix traceback error for invalid req file ( #81917 ) ( #81924 )
...
Provide a better error message when encountering a YAML requirements file that is not a dictionary or list.
Fixes : #81901
(cherry picked from commit 8a5ccc9d63 )
2023-10-09 11:34:36 -05:00
Jordan Borean and GitHub
c70f7d829f
Add test coverage for winrm ( #81910 ) - 2.16 ( #81914 )
...
* Add test coverage for winrm (#81910 )
(cherry picked from commit 282908c57e )
* Add more winrm coverage (#81923 )
(cherry picked from commit 976067c15f )
2023-10-09 10:59:32 -05:00
Jordan Borean and GitHub
5665eca5e9
win_fetch - improve test time by not scanning Win dir ( #81884 ) ( #81888 )
...
(cherry picked from commit dfc62589f6 )
2023-10-04 10:24:30 -07:00
Jordan Borean and GitHub
9632086901
winrm - make command input more resiliant ( #81538 ) ( #81794 )
...
* winrm - make command input more resiliant
* Expand warning message
(cherry picked from commit f22231de20 )
2023-09-27 09:10:59 -05:00
Jordan Borean and GitHub
7865b198d2
PowerShell - Improve error checking ( #80984 )
...
Improves the error checking when running PowerShell modules using
Ansible.ModuleUtils.Legacy. It will only return an rc of 1 if both the
PowerShell module runner signalled an error occurred and those error
records were present in the output. This should reduce some false
positive errors when using the older module style.
2023-08-25 05:24:02 +10:00
Jordan Borean and GitHub
f3976117fb
PowerShell - remove uneeded dotnet code for future compatibility ( #81472 )
2023-08-25 05:23:48 +10:00
Jordan Borean and GitHub
effb494db4
Update wait_for_connection to not reference configure script ( #81250 )
2023-07-13 17:12:19 +10: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
Jordan Borean and GitHub
98d1cf7aa2
Deprecate plural collections_paths option ( #81063 )
...
* Deprecate plural collections_paths option
* Fix test assumption
2023-06-23 04:41:59 +10:00
Jordan Borean and GitHub
8db9bd7574
Remove deprecated include ( #80752 )
...
* Remove deprecated include
* Add tombstone entry for include
* Use string for date
* Use todays date
* Remove uneeded if statement
2023-05-19 05:49:07 +10:00
Jordan Borean and GitHub
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
2023-05-19 05:36:52 +10:00
Jordan Borean and GitHub
0a36cd910e
Removed testing support for Server 2012 and 2012 R2 ( #80778 )
2023-05-18 11:02:58 -07:00
Jordan Borean and GitHub
0df794e5a4
urls - remove deprecated client key calls ( #80751 )
2023-05-17 17:17:25 -05:00
Jordan Borean and GitHub
fb6b90fe42
Improve Ansible.Basic.cs tempdir uniqueness ( #80328 )
...
* Improve Ansible.Basic.cs tempdir uniqueness
The current tempdir naming scheme can result in the same name if the
remote worker starts at the same time as another. By using the process
id it should add enough uniqueness to avoid this situation.
* Fix sanity issues
* Fix up compile issue on older hosts
2023-03-28 12:25:10 +10:00
Jordan Borean and GitHub
ba4505f5cb
Ansible.Basic - Improve temporary file cleanup process ( #80293 )
...
* Ansible.Basic - Improve temporary file cleanup process
* Add comment on struct value used
2023-03-28 05:57:17 +10:00
Jordan Borean and GitHub
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
2023-02-15 08:49:30 +10:00
Jordan Borean and GitHub
652a74e087
AddType - Support compiling with /unsafe C# code ( #79853 )
...
* AddType - Support compiling with /unsafe C# code
* Update Ansible version in docstring
2023-01-31 10:23:12 +10:00
Jordan Borean and GitHub
d16ec2455d
Add tests to cover win_reboot incidental paths ( #79856 )
...
* Add tests to cover win_reboot incidental paths
* Fix sanity issues
2023-01-31 10:10:30 +10:00
Jordan Borean and GitHub
ee33be9484
ansible-test - fix ps argspec check inside cmdlet ( #79699 )
...
* ansible-test - fix ps argspec check inside cmdlet
* Added error condition test
* Fix sanity problem
2023-01-11 08:05:50 +10:00
Jordan Borean and GitHub
493ef4a559
WinRM - Add doc entry for cert auth over TLS 1.3 ( #79434 )
2022-11-22 06:46:48 +10:00
Jordan Borean and GitHub
e7730f5d6c
Fix up incorrectly quoted doc example ( #79356 )
2022-11-10 07:03:50 +10:00
Jordan Borean and GitHub
698da30c1e
ansible-test - Update test container to 7.4.0 ( #79281 )
2022-11-02 10:39:33 +10:00
Jordan Borean and GitHub
f0d61245e3
Added ignore revs file for tracking commits with bulk sanity changes ( #79280 )
2022-11-02 08:52:28 +10:00
Jordan Borean
6def4a3180
Fix up sanity problems
2022-11-02 08:18:38 +10:00
Jordan Borean
4ad02dc6e3
ansible-test - Update PSScriptAnalyzer to 1.21.0
2022-11-02 08:18:38 +10:00
Jordan Borean and GitHub
ba6da65a0f
Fix connection/become task loop settings ( #78565 )
...
* Fix connection/become task loop settings
* Remove old code
2022-09-30 09:06:10 +10:00
Jordan Borean and GitHub
be4807b712
ansible-test validate-module - support sidecar docs ( #78904 )
2022-09-30 08:22:42 +10:00
ad79c1e0d0
Add support for json in adhoc -a ( #78114 )
...
Co-authored-by: Sandra McCann <samccann@redhat.com >
2022-08-03 11:24:12 +10:00
Jordan Borean and GitHub
75de4a37bc
validate-modules - allow raw module return type ( #78231 )
2022-07-12 17:23:22 +02:00
Jordan Borean and GitHub
dd094a4413
Mention admin requirement for runas become ( #77722 )
2022-05-05 10:16:37 -04:00
Jordan Borean and GitHub
60b4200bc6
winrm - ensure callers PATH for kinit is set ( #77401 )
...
* winrm - ensure callers PATH for kinit is set
* Fix unit test expectations
* Fix type annotation
2022-03-29 17:36:56 -07:00
Jordan Borean and GitHub
ff184b0815
SID - Use literal UPN value when attempting a user to SID lookup ( #77334 )
2022-03-25 05:01:45 +10:00
Jordan Borean and GitHub
2749d9fbf9
incidental - remove win_lineinfile coverage ( #76952 )
2022-02-04 11:59:35 +10:00
Jordan Borean and GitHub
aaa7944b02
Fix tests failing on pytest 7 ( #76670 )
...
* Fix pytest 7 failures with leaky fixture
2022-01-07 15:53:44 -08:00
Jordan Borean and GitHub
4c738b08b4
Add docs on Windows module util requirements ( #76583 )
2021-12-20 14:19:34 -05:00
Jordan Borean and GitHub
7dd22b8b4b
Update Windows host requirements ( #76582 )
2021-12-20 13:43:01 -05:00
Jordan Borean and GitHub
8482ee4e9a
galaxy build - ignore existing MANIFEST and FILES ( #76479 )
2021-12-07 16:37:28 +01:00
Jordan Borean and GitHub
fb55d878db
psrp - remove deprecated psrp put_file code ( #76252 )
...
* psrp - remove deprecated psrp put_file code
* Removed unused import and fix missing var
2021-11-12 10:57:28 +10:00
Jordan Borean and GitHub
9985b8a975
ansible-test pssa update and new rules ( #76256 )
2021-11-10 17:04:39 -08:00
Jordan Borean and GitHub
db2aee558b
LinkUtil - ignore LIB env var ( #76184 )
2021-11-03 04:47:28 +10:00
Jordan Borean and GitHub
7e19957afa
ansible-test pslint - fix warning with nested objects ( #75792 )
...
* ansible-test pslint - fix warning with nested objects
2021-10-08 06:30:30 +10:00
Jordan Borean and GitHub
e9c27c99dd
Fix up deprecation removal changelog headers ( #75848 )
2021-10-01 06:37:45 +10:00
Jordan Borean and Matt Clay
43e1cba8c1
Fix up validate-modules sanity check for PowerShell - ci_complete
2021-09-23 20:39:05 -07:00
Jordan Borean and GitHub
a2d4a8a9f3
PowerShell - Support optional module util imports ( #75187 )
2021-09-23 16:47:10 -07:00
Jordan Borean and GitHub
097bc07b66
PowerShell - Ignore LIB env var when building C# code ( #75698 )
...
* PowerShell - Ignore environment variables when building C# code
* Just unset LIB for now
* Fix sanity issue
2021-09-17 08:07:40 +10:00
Jordan Borean and GitHub
feed68f6f0
winrm - Add explicit env vars to pass into kinit ( #75256 )
...
* winrm - Add explicit env vars to pass into kinit
* Add ini entry and don't override existing env vars
2021-07-15 12:27:29 -07:00
Jordan Borean and GitHub
58d8397771
psrp - cleanup command ( #74985 )
2021-06-15 07:33:56 +10:00
cf3a304ce1
psrp - Fix reset connection on failed scenarios ( #74967 )
...
* psrp - Fix reset connection on failed scenarios
* Update psrp-reset.yml
* Update changelogs/fragments/psrp-reset.yml
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
* Update changelogs/fragments/psrp-reset.yml
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com >
2021-06-12 12:01:23 +10:00
Jordan Borean and GitHub
e875e91363
ansible-test - use pwsh to generate stubs ( #74271 )
2021-05-17 10:00:06 -07:00
Jordan Borean and GitHub
a277644301
Add python 3.10 constraint for pyspnego ( #74612 )
2021-05-06 23:53:50 -07:00
Jordan Borean and GitHub
019452dda7
uri - fix traceback on multipart-form int value ( #74302 )
2021-04-16 11:09:31 -04:00
Jordan Borean and GitHub
0cdc410dce
no_log mask suboption fallback values and defaults CVE-2021-20228 ( #73487 )
...
* no_log mask suboption fallback values and defaults
* Added changelog
* Remove lambda expression
2021-02-05 09:11:55 +10:00
Jordan Borean and GitHub
bc60d8ccda
Galaxy - make versions list consistent across versions ( #72932 )
...
* Galaxy - make versions list consistent across versions
* Fix up unit tests
2021-01-20 21:19:29 +01:00
Jordan Borean and GitHub
18e5628b19
Slight tweak to galaxy source selection ( #72685 )
2020-11-20 07:54:43 +10:00
Jordan Borean and GitHub
fb092a82a1
ansible-galaxy - source deps from all servers and not just parent ( #72576 )
...
* ansible-galaxy - source deps from all servers and not just parent
* Added integration tests for this scenario
2020-11-20 04:54:40 +10:00
Jordan Borean and GitHub
aee7a3ed68
Fix FreeBSD HTTP Kerberos setup ( #72595 )
2020-11-12 13:40:59 +10:00
Jordan Borean and GitHub
03a395cba4
Rollback pulp container to stabilise CI ( #72580 )
2020-11-11 17:09:16 +10:00
Jordan Borean and GitHub
a521ea0a13
Tweak galaxy CI tests to bring stability ( #72578 )
2020-11-11 13:46:57 +10:00
Jordan Borean and GitHub
bdd0c48837
Added changelog for RHEL 7.9 ( #72572 )
2020-11-11 05:30:11 +10:00
Jordan Borean and GitHub
d451433e5d
Add RHEL 7.9 - ci_complete ( #72558 )
2020-11-10 16:53:22 +10:00
Jordan Borean and GitHub
de5858f48d
Added caching mechanism for Galaxy API requests ( #71904 )
...
* Added caching mechanism for Galaxy API requests
* Add cache options and split up code
* Added unit tests
* Fix sanity test
* Use modified date and fix up caching for explicit servers
* Make sure credentials are not in cached server name
* Added test for getting updated cache version
* Changes from review
2020-11-10 06:50:32 +10:00
Jordan Borean and GitHub
1eae2bb890
Update Galaxy NG version used in CI ( #72469 )
2020-11-04 10:07:38 +10:00
Jordan Borean and GitHub
809d5fc398
ansible-test - skip installing PowerShell sanity test reqs if they are already installed ( #72423 )
2020-10-30 21:52:27 -04:00
Jordan Borean and GitHub
4856ab0e68
Galaxy server update ( #72286 )
...
* Update galaxy server image used in CI
* Fix port and migration issue
* Add delete step, still need to deal with pagination
* Make cleanup more efficient
* Remove testing code
2020-10-28 09:17:40 +10:00
Jordan Borean and GitHub
c9fa1d0e7e
Fix race condition when creating async dir ( #72069 )
...
* Fix race condition when creating async dir
* Simplify exception wrapper
* Remove var used for testing
2020-10-19 15:05:19 -04:00
Jordan Borean and GitHub
caba47dd3f
Add support for GSSAPI/Kerberos to urls.py ( #72113 )
...
* Add support for GSSAPI/Kerberos to urls.py
* Test out changes with the latest test container
* Get remote hosts working
* Fix up httptester_krb5_password reader
* Fix tests for opensuse and macOS
* Hopefully last lot of testing changes
* Dont do CBT on macOS
* Fixes from review
2020-10-13 14:16:07 +10:00
Jordan Borean and GitHub
1ae3683d0c
Fix example to use correct shebang ( #72129 )
...
* Fix example to use correct shebang
* Fix other example modules as well
* Ignore shebang test
2020-10-07 10:07:27 -05:00
Jordan Borean and GitHub
672df07a33
Bump httptester version ( #72036 )
2020-10-01 08:18:21 +10:00
Jordan Borean and GitHub
09c2475368
Update the tests to work with new httptester container ( #72013 )
2020-10-01 06:38:44 +10:00
Jordan Borean and GitHub
3c33618cf6
powershell - remove env var ( #72010 )
2020-09-30 06:24:31 +10:00
Jordan Borean and GitHub
2d2c5d5ed7
setup - update docs for win setup fact_path ( #71791 )
2020-09-17 16:01:19 -04:00
Jordan Borean and GitHub
fc08c1f3c5
runas - create new SYSTEM token on become ( #71714 )
2020-09-15 05:39:23 +10:00
Jordan Borean and GitHub
b615789fcc
psrp - fix hang when copying an empty file ( #71649 )
2020-09-05 14:57:15 +10:00
Jordan Borean and GitHub
72a7cb4a2c
powershell - fix quoting values ( #71411 )
...
* powershell - fix quoting values
* Add ignore for smart quote skip
2020-08-26 07:06:51 +10:00
Jordan Borean and GitHub
8897d7e2ff
powershell - fix nested CLIXML parser ( #71412 )
2020-08-26 07:06:19 +10:00
Jordan Borean and GitHub
985ba187b2
psrp - use native copy mechanism ( #71409 )
...
* psrp - use native copy mechanism
* Fix sanity issues
* Split the bugfix and deprecation into separate changelog fragments
2020-08-25 12:23:40 +10:00
3f22f79e73
Ensure -k is set to delegated hosts without a pass ( #71136 )
...
* Ensure -k is set to delegated hosts without a pass
* Fix up some broken tests
* Update task_executor.py
one possible fix, the other is updating winrm to normalize on 'password' like the other connection plugins
* Add alias for winrm and fix incorrect assumption
* Make sure aliases are used for keyword options
* Conditionally run test if sshpass is present, fix sanity
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com >
2020-08-08 09:06:32 +10:00
Jordan Borean and GitHub
aab9beccf7
Remove ANSIBLE_COLLECTIONS_PATHS dep warning ( #71094 )
2020-08-05 07:38:35 +10:00
Jordan Borean and GitHub
f6b3b4b430
ansible-galaxy - fix download for subdirs in SCM ( #71005 )
2020-08-04 11:10:00 -04:00
Jordan Borean and GitHub
b1cb2553af
ansible-galaxy - fix fallback for AH searches ( #70957 )
2020-07-30 07:28:43 +10:00
Jordan Borean and GitHub
5e1a968983
Do not add connection vars to the output results ( #70853 )
...
* Do not add connection vars to the output results
* Also revert the delgated scenario JIC
* Added regression test
2020-07-24 09:53:08 +10:00
Jordan Borean and GitHub
154efd97f2
win async - use full path for powershell ( #70703 )
2020-07-18 06:08:29 +10:00
Jordan Borean and GitHub
e22e103cdf
winrm - Added kinit_args to control the args for kinit calls ( #70624 )
2020-07-14 12:05:11 -04:00
40ce448657
ansible-test - do not validate blacklisted ps modules ( #70376 )
...
* ansible-test - do not validate blacklisted ps modules
* Update changelogs/fragments/validate-modules-ps-doc-blacklist.yaml
Co-authored-by: Matt Clay <matt@mystile.com >
Co-authored-by: Matt Clay <matt@mystile.com >
2020-07-01 07:59:53 +10:00
Jordan Borean and GitHub
598c40beb3
Fix up the redirection of the win setup module ( #70158 )
2020-06-19 09:27:02 -07:00
Jordan Borean and GitHub
8b24a4c5ed
Fix up the redirection of the win setup module ( #70158 )
2020-06-19 09:24:35 -07:00
Jordan Borean and GitHub
d1dcd5bcb3
remove new Windows modules not present in 2.9 ( #70087 )
2020-06-16 18:50:19 +10:00
Jordan Borean and GitHub
d30fc6c0b3
galaxy - preserve symlinks on build/install ( #69959 )
...
* galaxy - preserve symlinks on build/install
* Handle directory symlinks
* py2 compat change
* Updated changelog fragment
2020-06-11 06:46:42 +10:00
Jordan Borean and GitHub
a58fcde3a0
Use common ps sanity requirements file ( #69992 )
...
* Use common pssanity requirements file
* Fix up sanity ignore
2020-06-11 06:38:17 +10:00
Jordan Borean and GitHub
15f07e7a6c
Fix up schema for collection deprecation ( #69977 )
...
* Fix up schema for collection deprecation
* Fix up modules using wrong name
* Another fix
2020-06-10 16:33:08 +10:00
Jordan Borean and GitHub
112251c7f4
Bump fallaxy version ( #69917 )
2020-06-06 06:00:57 +10:00
Jordan Borean and GitHub
f81f5da20e
Ansible.Basic added generic fragment merger for module options ( #69719 )
2020-05-29 16:11:38 +10:00
Jordan Borean and GitHub
f5f3ba7ab5
ansible-test - fix up relative util import for powershell validate-modules ( #69753 )
...
* ansible-test - fix up relative util import for powershell validate-modules
* Use different tactic for generic group
* Use python 2 and 3
2020-05-29 14:31:59 +10:00
Jordan Borean and GitHub
ecea15c508
Unify ansible-galaxy install -r ( #67843 )
...
* Unify ansible-galaxy install -r
* Minor nit fixes for docs
* Re-align warnings
* Fix up integration test
* Fix up test where no roles/collections were in file
2020-05-19 05:09:42 +10:00
Jordan Borean and GitHub
722d89478b
Remove Ansible.Service from routing ( #69317 )
2020-05-05 05:50:08 +10:00
Jordan Borean and GitHub
813ea48fcf
Bring back more objects that were exposes in _text ( #69090 )
2020-04-24 04:56:59 +10:00
Jordan Borean and GitHub
79fff7da69
Expose to_<str> as a public function ( #68965 )
...
* Expose to_<str> as a public function
* Fix sanity checks
* Move docstring to start of util
2020-04-17 07:54:00 +10:00
Jordan Borean and GitHub
de6b047fc3
Add variable for DEFAULT_NO_TARGET_SYSLOG ( #68971 )
...
* Add variable for DEFAULT_NO_TARGET_SYSLOG
* Added version_added to new var
2020-04-16 20:25:09 +10:00
Jordan Borean and GitHub
702949e64c
windows - fix up env var quoting for unicode single quotes ( #68968 )
...
* windows - fix up env var quoting for unicode single quotes
* Add sanity ignore check for smart quotes
2020-04-16 20:24:23 +10:00