summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* group2 - switch to setup_remote_tmp_dir instead of using output_dir (#76853)Matt Martz2022-01-2621-303/+299
| | | | | | | | | * group2 - switch to setup_remote_tmp_dir instead of using output_dir * output_file needs to be in the tmp dir * Use comparison that should work with macos * remove unused dep
* Added restart to the argument condition for AIX (#76841)neikei2022-01-262-1/+4
| | | | | * Added restart to the argument condition for AIX This should fix the issue https://github.com/ansible/ansible/issues/76840
* ansible-test - Defer loading of completion entries. (#76852)Matt Clay2022-01-258-47/+85
| | | | | * ansible-test - Defer loading of completion entries. This avoids a traceback when running ansible-test outside of a supported directory.
* Mention ansible-core 2.11 RPM package in Ansible Core Installation Guide ↵Tong He2022-01-251-4/+3
| | | | (#76801)
* add core roadmaps to ansible docs (#76818)Sandra McCann2022-01-252-2/+1
| | | | * add core roadmaps to ansible docs * make older roadmaps also show up
* user module password expiration fixes (#75390)Daniel Goldman2022-01-244-28/+51
| | | | | | | | | | | | | | | | * allow inputting 0 for password_expire_{min|max} 0 is meaningful for min days (any time) 0 is technically valid for max_days * add test for setting both min and max expiry * [0] return result of execute_command from set_password_expire* * [1] better return for set_password_expire * [2] handle returns from set_password_expire* * only set password expiry if user exists * collect return-handling code * combine password min and max into one execution * handle case where spwd is not present like on macOS and FreeBSD Co-authored-by: Sam Doran <sdoran@redhat.com>
* remove ansibot from collection docs (#76817)Sandra McCann2022-01-241-102/+8
| | | | | * remove ansibot from collection docs * Update docs/docsite/rst/community/collection_development_process.rst Co-authored-by: Felix Fontein <felix@fontein.de>
* iptables - added a ``chain_management`` parameter to control chain (#76378)Éloi Rivard2022-01-2412-15/+380
| | | | | | creation and deletion fixes #25099 closes #32158
* doc_fragments/files.py: fix "objecs" typo (#76822)Kenyon Ralph2022-01-241-1/+1
|
* config, moved 'choices info to keys (#76569)Brian Coca2022-01-212-24/+38
| | | | | | | * config, moved 'choices' from wall of text, to keys * updated to ensure all pythons handle the 2 modes correctly * Update lib/ansible/config/base.yml Co-authored-by: Sandra McCann <samccann@redhat.com>
* Use explicit keyword for plugin config (#75158)Brian Coca2022-01-2111-1/+41
| | | | * go back to keyword being explicit for plugin configs instead of using option name as implicit match * switch spec to singular, no changes needed since no one used
* Resolve perf issue with async callback events (#76783)Matt Martz2022-01-213-9/+22
| | | | | | | | | | | * Don't send full task with async callback events. Fixes #76729 * Use args for async_status task, instead of k=v * Make sure we send back the async task attrs for polling * Add clog frag * load is a staticmethod
* Fallback to os family for interpreter discovery distro map. Fixes #75560 ↵Matt Martz2022-01-213-6/+11
| | | | (#76815)
* Create separate core vs collection contributor guides (#76764)Sandra McCann2022-01-2117-108/+454
| | | | | | * updated core guides * ansible package docs guides * add core guide to Ansible docs * Update docs/docsite/rst/community/maintainers.rst
* Module Logging with WSL2 (#76375)Abhinav Tripathy2022-01-212-3/+7
| | | | | | | | | * adding systemd daemon import * adding coments and AttributeError exception * adding minor fix to repeated syntax * adding changelog
* Attach concat func to an environment class (#76282)Martin Krizek2022-01-215-97/+96
| | | | | | | * Attach concat func to an environment class ci_complete * clog and docstrings
* Attempt 2: Catch errors getting filters and tests (#76806)Matt Martz2022-01-204-3/+19
|
* Do not require SystemdStrategy subclasses for every distro (#76800)Matt Martz2022-01-202-109/+5
|
* Parameterize disable_lookups (#76770)Mark Mercado2022-01-192-2/+5
| | | Allow inventory plugins to enable/disable lookups in the compose templating
* Remove obsolete skip/windows test aliases.Matt Clay2022-01-192-2/+0
|
* Compare FQCN also in lockstep logic. Fixes #76782 (#76787)Matt Martz2022-01-184-1/+42
|
* Fix documentation around the password parameter of builtin.user (#76702)Julian2022-01-181-2/+2
|
* Change "fatal" to "error" in config docs to match actual behaviour (#76760)Sebastian Wiesinger2022-01-181-1/+1
|
* Fix unsafe handling of variable PYTHON_BIN (#76767)Pascal Höhnel2022-01-181-2/+2
| | | The previous state lead to errors, when cloning the repo to a path with spaces in it.
* ansible-test: fix typo in validate-modules (#76765)Dimitri Savineau2022-01-182-1/+3
| | | | | The correct error strategy for the to_text method is surrogate_or_strict Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
* include_vars initialize failed (#76754)Brian Coca2022-01-182-1/+7
| | | | | | | | * include_vars initialize failed if source dir is given, but not present and traversal is empty you can end up trying to access failed w/o it ever being defined. also future proof for more corner cases in decision tree
* prevent fact gathering from breaking on bad caps (#76691)Brian Coca2022-01-143-26/+45
| | | | | * prevent fact gathering from breaking on bad caps fxies #75832
* ansible-config avoid _terms and _input in --only-changed (#76597)Brian Coca2022-01-142-1/+13
| | | | | | | dont display _terms or _intput on only changed those always change and it expected for the plugins that support them Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
* ssh connection avoid parsiing own debug (#76732)Brian Coca2022-01-133-16/+32
| | | | | | - Avoids false positives on become strings being echoed back by ssh cli itself - added test for debug lines - also simplified some of existing test code
* Allow specifying specific python via shebang (#76677)Brian Coca2022-01-133-36/+50
| | | | | | | | | | modules with python were always normalized to /usr/bin/python, while other interpreters could have specific versions. * now shebang is always constructed by get_shebang and args are preserved * only update shebang if interpreter changed * updated test expectation * added python shebang test
* ansible-test - Remove azure support for Sherlock.Matt Clay2022-01-133-45/+9
|
* fact gathering, prevent "UnboundLocalError: local variable 'datafile' ↵jkahrs2022-01-132-1/+5
| | | | | referenced before assignment" when open(path) fails. (#76751) Co-authored-by: jean kahrs <j.kahrs@hosting.de>
* docs: Update porting guide for ansible 5.2.0 (#76746)David Moreau Simard2022-01-131-0/+49
|
* ansible-test - Remove AIX provisioning support. (#76747)Matt Clay2022-01-1238-72/+3
| | | | | * ansible-test - Remove AIX provisioning support. * Remove `skip/aix` integration test aliases. * Remove build for AIX binary module.
* ansible-test - Add support for FreeBSD 12.3. (#76745)Matt Clay2022-01-124-20/+20
| | | | | * ansible-test - Add support for FreeBSD 12.3. * Use OS package for yaml if available with CLoader. * Make sure libyaml is available.
* Expect upper case message 'levels' for galaxy publish results (#63530)Adrian Likins2022-01-123-10/+12
|
* Added AIX CA certs search paths (#69776)Amir.M2022-01-122-0/+6
|
* Update dnf tests to reflect new behavior. (#76743)Matt Clay2022-01-121-2/+3
| | | | | | | | | * Update dnf tests to reflect new behavior. Previously dnf would report there was nothing to do when trying to install a package from the cache when it was not present. A recent update to dnf has changed this behavior to match yum, resulting in a failure instead. * Allow dnf to fail or report no changes.
* remove outdated note on limitations of R() in module docs (#76736)Sandra McCann2022-01-121-4/+0
|
* ansible-test - Update default containers.Matt Clay2022-01-122-2/+4
|
* ansible-test - Limit paramiko to < 2.9.0Matt Clay2022-01-112-0/+4
|
* ansible-galaxy - fix the --ignore-certs flag for the implicit galaxy server ↵Sloane Hertel2022-01-113-1/+47
| | | | | | | | | | | | | (#76735) * ansible-galaxy - fix the --ignore-certs flag for the implicit galaxy server * changelog * Add a test without the server config * Fix respecting --ignore-certs for individual --server URLs also * Update changelogs/fragments/76735-ansible-galaxy-fix-ignore-certs.yaml
* Fix C&P error (#76673)Mario Lenz2022-01-111-1/+1
|
* Add Rocky to INTERPRETER_PYTHON_DISTRO_MAP (#76728)StopMotionCuber2022-01-111-0/+1
|
* end_play: end the current play only (#76674)Martin Krizek2022-01-114-1/+27
| | | Fixes #76672
* apt: add support for package version >= (#75002)Patrick Hemmer2022-01-1110-76/+162
| | | | | | | | | This adds the ability to specify a package version using >=. This will ensure the package is at the specified version or above. * If the package is not installed, the latest version will be installed. * If the package is installed and less than the specified version, it will be upgraded. * If the package is installed and greater than or equal to the specified version, it will be left alone. The version selection is handled by Apt itself, so things like the system policy, pinning, etc, are considered.
* fix typo (#76699)Brian Coca2022-01-111-1/+1
|
* enable module defaults for implicit gather_facts (#76053)Brian Coca2022-01-104-19/+39
| | | | | | | * deprecated default fact path setting * subset and timeout on same boat * avoid pushing module args when none Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
* Use antsibull 0.40.1 for docsite build (#76675)Felix Fontein2022-01-103-6/+6
|
* Fix markup.Felix Fontein2022-01-101-2/+2
|