| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
|
|
| |
coverage (#75036) (#75044)
(cherry picked from commit 4ab791d501771d34fef6edb8f2f7932ed3885687)
|
|
|
|
|
| |
(cherry picked from commit 0467b1d477)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
| |
(cherry picked from commit 5ac1b04929aae38e4a4cfd199051f76c7aa187a0)
|
|
|
|
|
| |
output. (#74999) (#75003)
(cherry picked from commit 58450f041a6ffc343e5d19569580f5189e09200c)
|
|
|
| |
(cherry picked from commit ca6123e0ee0707b4cdf74137b5778fd913da8357)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
* Ensure we keep the original path as per cli
fixes #75126
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 60c9f045cc9195e9c8b3b90027dc19b72f9c579d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
| |
(cherry picked from commit 1e00099753be42b98d1ce2ef1b8ec066deb59448)
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
(cherry picked from commit 67bc49e001e6cbd6736e1dbc3d8b07f9bccda2bb)
Co-authored-by: Felix Fontein <felix@fontein.de>
|
| |
|
|
|
|
|
|
|
| |
* Use antsibull sphinx extension.
* Require antsibull 0.34.0.
(cherry picked from commit 2c0f050b4f81188d77c2f52524c8132e2048d4c7)
|
|
|
|
|
| |
installing collections from Galaxy (#75024) (#75025)
(cherry picked from commit 5df82415b553a96c50b335b3480385e5701a9033)
|
|
|
|
|
| |
(cherry picked from commit aedc82da9825b6c687cbff36a94c6a065f8af5f8)
Co-authored-by: Andreas Olsson <andreas@arrakis.se>
|
|
|
|
|
| |
(cherry picked from commit 3a8fc2d2be9062d4efb152be8c0c7fb6918fc587)
Co-authored-by: Chandler Swift <chandler@chandlerswift.com>
|
|
|
| |
(cherry picked from commit 2387ce311f26ca34bf6974d1231d470db22fdd42)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
(cherry picked from commit 58d83977718363c15fb5954a7d5e05e81548b590)
|
|
|
| |
(cherry picked from commit b518aabf81213dd4d8b5b46a1a0657b5d8408238)
|
|
|
|
|
| |
* update tag docs
(cherry picked from commit 97acb0f470471c9dcf1e357f1672127f146240a8)
|
|
|
| |
(cherry picked from commit 675df166c27bc82a4d9a7cba45e11aec0300ae2c)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
(cherry picked from commit 0a5cc80ce22debfe9879ab95e3d332522b3ea6ec)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
- Fixes #67340
- Backport PR for #68608
Signed-off-by: Hideki Saito <saito@fgrep.org>
|
|
|
| |
(cherry picked from commit 01ab6c6ec73915412f1a1d00f7c247147ccfd606)
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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>
|
|
|
|
|
| |
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit cf3a304ce1711ed9a19549fbf58c004acd47c06a)
|
|
|
|
|
|
|
| |
* Update -d help info for ansible-pull
* fix pep8
(cherry picked from commit 6539c598579f960c16745b3e35c8e841b23fb1a5)
|
|
|
|
|
|
|
| |
CVE-2021-3583
ensure we always have unsafe
Co-authored-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit 4c8c40fd3d4a58defdc80e7d22aa8d26b731353e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#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)
* added tests
(cherry picked from commit d2d1f01f9d067e82b6af0da156a24627d04b396c)
|
|
|
| |
(cherry picked from commit 81ad125aa65ef6c1c1c4137f49c2f1c91bca7d2b)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
| |
ansible-community/contrib-scripts. (#74905) (#74926)
(cherry picked from commit acf09e56a257d8b0548226cb9ab5ae9450df0d3d)
|
|
|
|
|
|
|
|
|
| |
* adds banner for GalaxyNG survey (#74889)
(cherry picked from commit 62fc4ad8dad1d1d18a6ff72b73bb546db0028055)
* gives each banner a unique div ID (#74907)
(cherry picked from commit 33924d7e8dac0736342032c79136bd75d8dc11bf)
|
|
|
|
|
|
|
| |
Move versionadded to next line to render correctly.
(cherry picked from commit 888fea69e547f49a9267d2c8df71fac38e383ed4)
Co-authored-by: Chander G <mail@chandergovind.org>
|
|
|
|
|
| |
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 4bf420706b2bf8591366e9eadf0db0afc6eccb17)
|
|
|
|
|
| |
(cherry picked from commit b63512774b7df8056fe34138b97115f1663d88d4)
Co-authored-by: Daniel Chabrowski <dantezstudio@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
| |
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
|