summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ssh connection, handle 'fun' control paths (#76424)Brian Coca2022-01-103-2/+7
| | | | | * handle 'fun' control paths by quoting the option when passed to ssh cli Co-authored-by: Matt Clay <matt@mystile.com>
* Don't assert stdlib behavior, just assert that urllib was calledMatt Martz2022-01-101-3/+5
|
* Fix tests failing on pytest 7 (#76670)Jordan Borean2022-01-081-8/+9
| | | * Fix pytest 7 failures with leaky fixture
* ansible-test - Set pytest rootdir option.Matt Clay2022-01-082-0/+3
|
* ansible-test - Use `--forked` instead of `--boxed`Matt Clay2022-01-073-1/+4
| | | | The `--boxed` option is deprecated.
* Avoid deprecated TestCase functions in unit tests. (#76678)Matt Clay2022-01-0715-225/+229
| | | | | * Avoid deprecated TestCase functions in unit tests. * Add assertRaisesRegex for Python 2.7. * Fix indentation.
* Make all pipelining agree on ini entries (#76573)Brian Coca2022-01-073-3/+7
| | | | * Make all pipelining agree on ini entries, corrected descriptions
* Add check_mode tests for shell/command/script and make ↵Sloane Hertel2022-01-0712-37/+121
| | | | | | | | | | | | | | | skipped=True/changed=True mutually exclusive (#76429) * Add additional tests for check_mode with shell/command/script * update check_mode documentation: if a module/action is not skipped in check mode and accurately reflects whether a change is made to the remote support should be 'full' * Make reporting skipped in check mode mutually exclusive with 'changed: True' * Add missing documented attributes * Fix tests to expect skipped=True and changed=True do not occur together * Fix script check_mode support documentation * Fix earlier changelog * document platforms attribute * Use tasks's check mode since the value from PlayContext does not reflect loop items Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
* Update local_mods in git.py to show destination of conflict (#72405)Emyll Almonte2022-01-072-2/+4
| | | Git module, specify that the local modification is in the destination directory so that some of the users clearly understand this..
* ansible_concat: return strings only unless eval (#76634)Martin Krizek2022-01-074-1/+13
| | | Fixes #76610
* package_facts: Support pkg_info OpenBSD, FreeBSD and NetBSD (#76580)Romain Goncalves2022-01-072-1/+46
|
* hostname: add support for openEuler distro (#76619)gongnan2022-01-072-0/+8
|
* Remove obsolete incidental tests from matrix.Matt Clay2022-01-071-33/+0
| | | | The removed matrix entries no longer run any tests.
* Remove shebangs from core Python modules. (#76664)Matt Clay2022-01-0768-67/+13
| | | | | * Remove module shebangs. * Relax shebang check in validate-modules. * Add changelog fragment.
* add systemd alias check (#76608)James Livulpi2022-01-062-2/+4
| | | | | | | | | | | | | * add systemd alias check * add .yml * Delete 75538-systemd-alias-check * Update lib/ansible/modules/systemd.py Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
* More auto info (#76598)Brian Coca2022-01-062-1/+4
| | | | | * make auto invenory plugin a bit more informative * clog
* user: Update logic to check if user exists in macOS (#76592)Abhijeet Kasurde2022-01-062-9/+8
| | | | | | | 'dscl -list' returns 0 even if the user does not exists. This leads to errorenous condition in user module. Using 'dscl -read UniqueID' can return if user exists or not. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* stat document 'version' return doc (#76589)Brian Coca2022-01-063-8/+15
| | | | | | | | | * stat document 'version' return doc fixes #76588 * str * no output_dir for you!
* ansible-galaxy - validate version for directories and collections in git ↵Sloane Hertel2022-01-067-1/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | repos (#76579) * Ensure the version is valid for directories and collections in git repos before installing Fix the error message for invalid semantic versions * Make requested changes * Add a test case for unhandled ValueError exception * Add changelog * Update lib/ansible/galaxy/collection/galaxy_api_proxy.py Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> * Reword error message Include link to learn how to compose a semver version * Move version validation into the caller, find_matches * Add tests for more invalid version types * Remove unused import Fix raising unexpected error * Update lib/ansible/galaxy/collection/__init__.py Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> * Update lib/ansible/galaxy/dependency_resolution/providers.py Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> * Update lib/ansible/galaxy/dependency_resolution/providers.py Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* Add missing typing import for _distro.py.Matt Clay2022-01-053-0/+36
| | | | See: https://github.com/python-distro/distro/blob/116cdad222637c8612c4126ff8b3718bdfcb8696/distro.py#L42-L72
* ansible-test - Fix plugin loading.Matt Clay2022-01-052-2/+3
| | | | This fixes a traceback when loading plugins that use dataclasses.
* ansible-test - Fix type hints.Matt Clay2022-01-0510-15/+17
|
* facts - Set correct OS family for EuroLinux (#76624)Jaromaz2022-01-054-1/+56
| | | Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
* Fix wait_for integration test.Matt Clay2022-01-041-1/+1
| | | | Pin the `psutil` package to 5.8.0 since 5.9.0 is broken on macOS.
* Fixed documentation: "[a] ini file" -> "an ini file" (#76627)Or Bin2022-01-042-4/+4
|
* Fix typo in task name (#76642)darran-c2022-01-041-1/+1
|
* Fixed documentation: "do not needed -> do not need" (#76617)Or Bin2021-12-292-2/+2
|
* unarchive: Keep stderr when pick_handler fails (#76365)Jean Raby2021-12-234-8/+38
| | | | | | | | | * fixes #28977 * Include the original error message when pick_handler fails * Add a test to unarchive a tar file with an invalid extra option * add a changelog
* Disable the _distutils_hack in newer setuptools (#76600)Sloane Hertel2021-12-233-0/+5
| | | | | | | * Disable the _distutils_hack in newer setuptools. Doesn't fix the underlying issue of the venv finding the _distutils_hack of a setuptools that is not its own. ci_complete * re-throw blanket
* check for indirect service in systemd (#76462)James Livulpi2021-12-239-1/+74
| | | | | | | | | | | * check if service is indirect status / add integration test * Update changelogs/fragments/76453-indirect-systemd-status.yml Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> * simplify indirect check / remove integration test restriction on rhel9 * add dummy indirect service for integration tests
* Adding modularity tag to task modularity.yml (#76557)mbanas2021-12-221-0/+2
| | | Co-authored-by: Martin Banas <mbanas@redhat.com>
* Docs: update porting guide for ansible 5.1.0 (#76595)David Moreau Simard2021-12-211-2/+64
|
* Adds documentation about when/why to use roles (#76560)Alicia Cozine2021-12-211-1/+6
| | | Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
* Add docs on Windows module util requirements (#76583)Jordan Borean2021-12-201-1/+49
|
* Do not format the choice as a definition list for non-mapping values (#76568)Matt Martz2021-12-201-1/+1
|
* Update Windows host requirements (#76582)Jordan Borean2021-12-205-15/+8
|
* Replace "Encrypt" with "Hash" for prompt documentation (#76584)Simon Monai2021-12-201-3/+3
| | | Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
* more exact wording of system_tmpdirs (#76587)Brian Coca2021-12-201-2/+4
|
* Update playbook_tests with type testing (#72732)Jon "The Nice Guy" Spriggs2021-12-202-0/+76
|
* k8s: Migrated scenario guides to collection (#75249)Abhijeet Kasurde2021-12-1711-356/+5
| | | | | | Kubernetes scenario guides are moved to ``kubernetes.core`` collection. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Update intro_inventory.rst (#76340)Jacob McGill2021-12-141-1/+1
|
* Document get_url module check_mode support right (#76433)bluikko2021-12-142-2/+5
|
* Fix typos in docs (#76526)Kian Meng, Ang2021-12-1414-45/+45
|
* Clarify include parameter in unarchive (#76543)Jonathan Neuhauser2021-12-141-2/+2
| | | Co-authored-by: s-hertel <19572925+s-hertel@users.noreply.github.com>
* Use correct markup in documentation (#76545)Felix Fontein2021-12-1423-52/+52
|
* docs: Update porting guide for ansible 4.10.0 (#76559)David Moreau Simard2021-12-141-0/+30
|
* unarchive: fix non-english locales (#76542)Jonathan Neuhauser2021-12-144-3/+47
| | | | | | | | | * unarchive: fix non-english locales For GNU Gettext, the LANGUAGE environment variable takes precedence over LANG or LC_ALL. On systems where LANGUAGE was set to a non-english locale, the output of the tar command therefore not understood and the module failed silently ("changed": false, but the archive was not extracted). * add tests * changelog
* Fix docs for installing from a git repo (#76350)Sloane Hertel2021-12-141-1/+1
|
* Update special_variables.rst (#76360)Dan Kolepp2021-12-141-1/+1
|
* Fix AttributeError when providing file via --conn-password-file (#76534)Martin Krizek2021-12-142-1/+4
| | | Fixes #76530