summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* New release v2.11.3rc1v2.11.3rc1Rick Elrod2021-07-134-1/+78
|
* [stable-2.11] slurp - improve error code and test coverage (#75038) (#75045)Sam Doran2021-07-124-56/+54
| | | | | | | | | | | | | | | * Improve the error handling code Rather than multiple return paths, have a single return and set the message based on the type of failure. * Add another test for non-specific failures * Reorganize tests so failure tests are in one tasks file * Remove os.stat() call and add changelog. (cherry picked from commit afe6eb574ef8e53e805cc1ff2b25dd9108b29e1c) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.11] module_common - handle cache directory creation collision ↵Sam Doran2021-07-122-5/+12
| | | | | | | | | | | | | | | | | | | | | | (#75106) (#75132) * module_common - handle cache directory creation collision Occasionally multiple workers can try to create the cache directory if it exists. Catch the exception and handle it. * Just re-raise if it doesn't exist rather than trying again * Use exists_ok rather than handling an exception * Remove unused import and unused variable * Go back to try/except but with OSError Since we do not have split controller remote, this needs to be able to run in Python 2 in order to be merged currently. (cherry picked from commit 16a74b798c) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.11] command - remove unreachable code and achieve full test ↵Sam Doran2021-07-123-4/+132
| | | | | coverage (#75036) (#75044) (cherry picked from commit 4ab791d501771d34fef6edb8f2f7932ed3885687)
* [stable-2.11] file integration test - cleanup testing users and group (#75037)Sam Doran2021-07-123-0/+26
| | | | | (cherry picked from commit 0467b1d477) Co-authored-by: Sam Doran <sdoran@redhat.com>
* 2.11: Add support for unicode in ansible-inventory CLI (#74912) (#75008)Martin Krizek2021-07-125-6/+91
| | | (cherry picked from commit 5ac1b04929aae38e4a4cfd199051f76c7aa187a0)
* Do not show empty version_added_collection values in ansible-doc text ↵Felix Fontein2021-07-122-0/+6
| | | | | output. (#74999) (#75003) (cherry picked from commit 58450f041a6ffc343e5d19569580f5189e09200c)
* Template suboptions in a role's arg spec (#75073) (#75094)Sloane Hertel2021-07-124-6/+69
| | | (cherry picked from commit ca6123e0ee0707b4cdf74137b5778fd913da8357)
* ansible-test: exposes tiny_prefix variable (#75128)Gonéri Le Bouder2021-07-122-0/+5
| | | | | | ansible-test aws provider now creates and exposes a new tiny_prefix variable to provide a shorter prefix for the AWS tests. (cherry picked from commit 5b8fb4dcd3d84aad77330644a7326bc16dd02a3b)
* Unfrack extra vars (#75127) (#75148)Brian Coca2021-07-116-1/+41
| | | | | | | | * Ensure we keep the original path as per cli fixes #75126 Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit 60c9f045cc9195e9c8b3b90027dc19b72f9c579d)
* [stable-2.11] task_executor - use correct value for ssh connection retries ↵Sam Doran2021-07-114-11/+21
| | | | | | | | | | | | | | (#75155) (#75191) Since the task and connection both have the same 'retries' keyword, the task default would override the connection value. Do not pass 'retries' from the task to the connection options. * Set ssh_connection retries default value back to 0 It was 0 before the move to config and was changed to 3 by accident. (cherry picked from commit a8de35e131) Co-authored-by: Sam Doran <sdoran@redhat.com>
* Removed Galaxy banner (#75163) (#75217)Lydie2021-07-081-2/+2
| | | (cherry picked from commit 1e00099753be42b98d1ce2ef1b8ec066deb59448)
* Bump sphinx_ansible_theme to v0.7.0+ (#75059) (#75174)Felix Fontein2021-07-082-2/+2
| | | | | | | | | This version relies on an external lib implementing lexers and styles. That lib pulls in proper Pygments version so this patch also drops it from direct requirements. (cherry picked from commit d75d9443fcca1d76257321b1a249931c6e641ff5) Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
* [stable-2.11] Restrict packaging to < 21.0 for Python < 3.6. (#75186)Felix Fontein2021-07-072-0/+3
| | | | | | (cherry picked from commit 67bc49e001e6cbd6736e1dbc3d8b07f9bccda2bb) Co-authored-by: Felix Fontein <felix@fontein.de>
* Update Japanese translation for stable-2.11 (#75180)Yanis Guenane2021-07-0613-9829/+30199
|
* Use antsibull sphinx extension (#73170) (#75100)Felix Fontein2021-06-296-6/+26
| | | | | | | * Use antsibull sphinx extension. * Require antsibull 0.34.0. (cherry picked from commit 2c0f050b4f81188d77c2f52524c8132e2048d4c7)
* collections_using.rst: add note that manual upgrade is required when ↵Andrew Klychkov2021-06-241-0/+3
| | | | | installing collections from Galaxy (#75024) (#75025) (cherry picked from commit 5df82415b553a96c50b335b3480385e5701a9033)
* [bp-2.11] Clarify Vault password client naming requirements (#75083)Abhijeet Kasurde2021-06-241-1/+1
| | | | | (cherry picked from commit aedc82da9825b6c687cbff36a94c6a065f8af5f8) Co-authored-by: Andreas Olsson <andreas@arrakis.se>
* [bp-2.11] Syntax fixes for docs (#75088)Abhijeet Kasurde2021-06-231-1/+2
| | | | | (cherry picked from commit 3a8fc2d2be9062d4efb152be8c0c7fb6918fc587) Co-authored-by: Chandler Swift <chandler@chandlerswift.com>
* remove reference to container ML (#75014) (#75028)David Shrewsbury2021-06-231-4/+3
| | | (cherry picked from commit 2387ce311f26ca34bf6974d1231d470db22fdd42)
* [2.11] Use `sphinx_ansible_theme` Sphinx theme in docs (#75058)Felix Fontein2021-06-2344-3936/+260
| | | | | | | | | | | | | | | | | | | | | | | | * Use `sphinx_ansible_theme` Sphinx theme in docs (#74318) (cherry picked from commit 346c7a765df924ca3ee479093b7817e0c00825ac) * 🔥 Drop unused `core.css` file This is a forgotten leftover from #74318 that should've been removed earlier. (cherry picked from commit ec408a69f19052190f1766a357c882fc86cfeada) * Update docs requirements list (#74956) * removes upper bound on sphinx version * updates versions of docs build dependencies, adds known good requirements file * adds instructions for using known_good_reqs file (cherry picked from commit 58f26388be7fc20aee8a3f43863c7832eea21fb6) Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com> Co-authored-by: Sviatoslav Sydorenko <wk@sydorenko.org.ua> Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
* Update Ansible release version to v2.11.2.post0.Rick Elrod2021-06-221-1/+1
|
* New release v2.11.2v2.11.2Rick Elrod2021-06-224-4/+18
|
* Update Ansible release version to v2.11.2rc1.post0.Rick Elrod2021-06-141-1/+1
|
* New release v2.11.2rc1v2.11.2rc1Rick Elrod2021-06-144-1/+90
|
* psrp - cleanup command (#74985) (#75001)Jordan Borean2021-06-142-14/+22
| | | (cherry picked from commit 58d83977718363c15fb5954a7d5e05e81548b590)
* delegation fix (#74685) (#74811)Brian Coca2021-06-144-4/+24
| | | (cherry picked from commit b518aabf81213dd4d8b5b46a1a0657b5d8408238)
* role argspec - tag role argspec validation task with 'always' (#74994) (#74996)David Shrewsbury2021-06-145-0/+23
| | | | | * update tag docs (cherry picked from commit 97acb0f470471c9dcf1e357f1672127f146240a8)
* Ssh opts fix (#74972)Brian Coca2021-06-142-2/+6
| | | (cherry picked from commit 675df166c27bc82a4d9a7cba45e11aec0300ae2c)
* [2.11] Fix using module-specific module_defaults in action plugins (#74849)Sloane Hertel2021-06-1410-18/+226
| | | | | | | | | | | | | | | | | * Use the module redirect_list when getting defaults for action plugins (#73864) * Fix module-specific defaults in the gather_facts, package, and service action plugins. * Handle ansible.legacy actions better in get_action_args_with_defaults * Add tests for each action plugin * Changelog Fixes #72918 (cherry picked from commit 5640093f1ca63fd6af231cc8a7fb7d40e1907b8c) * Fix tests for < 3.8
* [stable-2.11] slurp - handle error when path is a directory (#74930). (#74964)Sam Doran2021-06-144-8/+15
| | | | | (cherry picked from commit 0a5cc80ce22debfe9879ab95e3d332522b3ea6ec) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.11] subversion - fix stack trace when getting repository ↵Sam Doran2021-06-142-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | information (#74405) (#74977) * subversion - set LC_ALL for accurate command output parsing When LC_ALL is not set, the output language of commands will differ based on locale. There is a lot of history of trying to fix this. See the following pull requests: https://github.com/ansible/ansible-modules-core/pull/4358 https://github.com/ansible/ansible-modules-core/pull/4358 This patch attempts to fix this my setting LC_ALL to a UTF-8 locale. Setting LC_ALL to C reintroduces this bug https://github.com/ansible/ansible-modules-core/issues/4178. I'm sure there are some problems I am not seeing with setting this to en_US.UTF-8, but that is the only way I could find to fix this bug without reintriducing the bug mentioned above. * Rather than setting locale, just check for matches before trying to get groups This is a pragmatic solution to avoid the stack trace since setting the locale correctly to ensure message parsing is accurate is problematic. * Improve regexps for finding revision and URL (cherry picked from commit a8cf0196f7) Co-authored-by: Sam Doran <sdoran@redhat.com>
* [2.11] Fix slurp error handling for unreadable files and directories (#74915)Hideki Saito2021-06-146-6/+76
| | | | | | - Fixes #67340 - Backport PR for #68608 Signed-off-by: Hideki Saito <saito@fgrep.org>
* Apply display_failed_stderr on loop item results (#74865) (#74898)Martin Krizek2021-06-144-5/+11
| | | (cherry picked from commit 01ab6c6ec73915412f1a1d00f7c247147ccfd606)
* Basic: don't call lstat when check_mode (#64279) (#74883)Felix Fontein2021-06-143-1/+11
| | | | | | | | | While mode is specified in check_mode, don't call lstat. Since file may not present. Fixes: #61185 (cherry picked from commit 7099657dd7279ef2989d601251f46e7407a86fa6) Co-authored-by: Logistic Bot <logistic-bot@protonmail.com>
* Due to the takeover of freenode we're moving to a different irc network. ↵Andrew Klychkov2021-06-1496-107/+108
| | | | | | | | | | | | | | (#74775) (#74968) * Updates our channels to point at the same channel name on libera.chat * Links that used to point to webchat.freenode.net now point to https://libera.chat * Removes http://irc.freenode.net from the linkcheck exceptions. * Updates docs/docsite/rst/dev_guide/developing_modules_in_groups.rst (cherry picked from commit 80e7e1a17cb6aaf10e289e671fc382a614018e6e) Co-authored-by: John R Barker <john@johnrbarker.com> Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
* psrp - Fix reset connection on failed scenarios (#74967) (#74984)Jordan Borean2021-06-142-0/+12
| | | | | Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit cf3a304ce1711ed9a19549fbf58c004acd47c06a)
* ansible-pull - update help info for --directory option (#74936) (#74993)David Shrewsbury2021-06-142-1/+4
| | | | | | | * Update -d help info for ansible-pull * fix pep8 (cherry picked from commit 6539c598579f960c16745b3e35c8e841b23fb1a5)
* fix unsafe preservation across newlines (#74960) (#74973)Brian Coca2021-06-114-1/+29
| | | | | | | CVE-2021-3583 ensure we always have unsafe Co-authored-by: Rick Elrod <rick@elrod.me> (cherry picked from commit 4c8c40fd3d4a58defdc80e7d22aa8d26b731353e)
* [stable-2.11] version test - improve message when value is empty (#74754) ↵Sam Doran2021-06-113-1/+33
| | | | | | | | | | | | | | | (#74789) When an empty value is provided, no `version` attribute will exist on the `LooseVersion` or `StrictVersion` object. We catch and handle this, but it's not immediatebly clear that an AttributeError means an empty value was provided. Specifically handle the case where value or version are empty and add more helpful error messages. Add integration tests. (cherry picked from commit 71e33d2578) Co-authored-by: Sam Doran <sdoran@redhat.com>
* avoid literal quoting in config lists (#74740) (#74773)Brian Coca2021-06-112-1/+3
| | | | | * avoid literal quoting in config lists (#74740) * added tests (cherry picked from commit d2d1f01f9d067e82b6af0da156a24627d04b396c)
* Fix name of subkey. (#74939) (#74966)Felix Fontein2021-06-101-1/+1
| | | (cherry picked from commit 81ad125aa65ef6c1c1c4137f49c2f1c91bca7d2b)
* Localization: Import first set of translated files (#74954)Yanis Guenane2021-06-1017-0/+52839
| | | | | | | | | | | | | * Localization: Import first set of translated files (cherry picked from commit d45c2cec5530a916c2b16dae1ade6c0bdf04b38f) * Ignore smart quotes in the dev guide translation. The smart quotes are in the warning message to not use smart quotes. (cherry picked from commit 3f694e9f022b92c32486a148d695686b2f9833be) Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
* Update inventory script references from c.g to ↵Felix Fontein2021-06-075-12/+12
| | | | | ansible-community/contrib-scripts. (#74905) (#74926) (cherry picked from commit acf09e56a257d8b0548226cb9ab5ae9450df0d3d)
* adds banner for GalaxyNG survey (#74889) (#74906)Alicia Cozine2021-06-031-7/+16
| | | | | | | | | * adds banner for GalaxyNG survey (#74889) (cherry picked from commit 62fc4ad8dad1d1d18a6ff72b73bb546db0028055) * gives each banner a unique div ID (#74907) (cherry picked from commit 33924d7e8dac0736342032c79136bd75d8dc11bf)
* [bp-2.11] Fix small typo in playbook_filters doc (#74763)Abhijeet Kasurde2021-06-031-2/+2
| | | | | | | Move versionadded to next line to render correctly. (cherry picked from commit 888fea69e547f49a9267d2c8df71fac38e383ed4) Co-authored-by: Chander G <mail@chandergovind.org>
* Improve and extend changelog logs (#74106) (#74753)Felix Fontein2021-06-031-1/+67
| | | | | Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru> Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com> (cherry picked from commit 4bf420706b2bf8591366e9eadf0db0afc6eccb17)
* [bp-2.11] Update example and description of git:single_branch (#74832)Abhijeet Kasurde2021-06-031-2/+4
| | | | | (cherry picked from commit b63512774b7df8056fe34138b97115f1663d88d4) Co-authored-by: Daniel Chabrowski <dantezstudio@gmail.com>
* [bp-2.11] filters: Add a note about seed (#74874)Abhijeet Kasurde2021-06-031-0/+11
| | | | | | | | | | While using ``seed`` parameter of the 'random' filter, behavior changes between Python 2 and Python 3. Added a note about this in the documentation. Fixes: #63784 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Sandra McCann <samccann@redhat.com> Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
* remove package porting guides from stable branch, point to devel (#74890)Alicia Cozine2021-06-035-2897/+18
| | | Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>