| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* make collection callbacks follow normal flow (#59932)
make collections whitelist follow normal flow
* fixes missing set_options call and adhoc and stdout processing rules
* avoid dupes
* fixed to handle redirects
* also updated tests with new and more accurate skip message
* fix callback tests for envs with cowsay installed
* lots MOAR comments on why the code is as it is, some todos to refactor in future
Co-authored-by: Matt Davis <nitzmahone@users.noreply.github.com>
(cherry picked from commit 5ec53f9db853709c99e73d1b9c7b2ae81c681354)
* fixed bad merge
* hack in redirected names
* ensure we run additional calblacks
|
|
|
|
|
|
|
|
|
| |
permissions (#72516) (#72714)
* Added check for none on netstat_path variable
* Added changelog
(cherry picked from commit e879f12fb9629842f6c9c1a18ebd9dfd3e23de32)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* remove redundant remote_user for local setting
local action plugin already does and this also should fix
fork/thread issue by removing use of pwd library
fixes #59642
(cherry picked from commit 488b9d6c35b22205522c964182480e398e2cf4bc)
* ensure local exposes correct user (#72543)
* ensure local exposes correct user
avoid corner case in which delegation relied on
playcontext fallback which was removed
fixes #72541
(cherry picked from commit aa4d53ccdfe9fb8f5a97e058703286adfbc91d08)
|
| |
|
|
|
|
|
| |
(cherry picked from commit 711064a073d944b3ed440d47e7d7ef3af547ee39)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
| |
* Try to escalate before on_open_shell to work around ios (#63571)
(cherry picked from commit 0cd2ad588032ac1d15ca7084c5c03c91e607a80a)
Add changelog
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
Co-authored-by: Nathaniel Case <ncase@redhat.com>
|
|
|
|
| |
The docs state to use paused but the check_choice module only
accepts pause which doesn't list paused vm's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- `udev` is provided by `systemd-udev`, which our `state=present` check
doesn't match. For now, work around this so we don't end up trying to
upgrade all of systemd.
- In the future, we should discuss if the `yum` module does the right
thing here.
Test Plan:
- Locally in docker
- CI
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
| |
ansible-collections/azure for v2.9 (#71756)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A bug existed in systemd 245 that did not properly handle unknown kernel
capabilities gracefully. This resulted in incomplete output when querying
for the service status. It is possible to get service status by other means.
This PR works around this issue by getting service status using other commands
in the event of a failure due to this bug.
(cherry picked from commit db84e2c989)
Co-authored-by: Sam Doran <sdoran@redhat.com>
* [stable-2.9] systemd - use list-unit-files rather than list-units (#72363)
list-unit-files will return all files on the system. list-units omits those
that are disabled.
Co-authored-by: Ken Dreyer <ktdreyer@ktdreyer.com>
(cherry picked from commit d6115887fafcb0c7c97dc63f658aee9756291353)
* systemd - account for templated unit files when searching for service (#72702)
Related to issue #71528 and PR #72337
Co-authored-by: Martin Polden <mpolden@mpolden.no>
(cherry picked from commit a788ea0132cb423dfb28e02264584ae64e9a3b80)
|
|
|
|
|
|
| |
When enumerating connections with psutil, catch and ignore errors to avoid returning a stack trace.
Co-authored-by: Matt Martz <matt@sivel.net>
(cherry picked from commit fb09fd2a23)
|
|
|
|
|
|
|
| |
they are already installed (#72423) (#72425)
(cherry picked from commit 809d5fc398)
Co-authored-by: Jordan Borean <jborean93@gmail.com>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Change the behavior when using %VG or %PVS to make the `size_requested` an even
modulus of the VG's physical extents by rounding down.
This makes the usage of %VG or %PVS idempotent when the calculated
`size_requested` does not end on a physical extent boundary.
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: JuddTracy-DAS <38507478+JuddTracy-DAS@users.noreply.github.com>
|
|
|
|
|
|
| |
(cherry picked from commit fb092a82a1a013fd38a37b90b305fc9a8fa11a13)
* Slight tweak to galaxy source selection (#72685)
(cherry picked from commit 18e5628b1911ec95de914fb3305f87cb88a2b3fe)
|
|
|
|
| |
trying to pass exception) (#72772)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix missing ansible.builtin FQCNs in hardcoded action names (#71824)
* Make sure hard-coded action names also check for FQCN.
* Use _add_internal_fqcn() to avoid hardcoded lists and typoes.
(cherry picked from commit da60525610a384bb04833b1c6429d9db6a87ef64)
ci_complete
* Replace some more FQCNs.
(cherry picked from commit 72302dd61168e17fe4d16fbb4429d48662d9f0c3)
* Fix another case which was already fixed in stable-2.10.
|
|
|
|
|
|
|
| |
* ansible-doc: export has_action when --json is used.
* Remove docuri and now_data, which were not used resp. ignored in format_plugin_doc and the functions it calls anyway.
* Add function _combine_plugin_doc.
(cherry picked from commit 4fb336cef13e4b6e2b46a4d30e60d1d40cbbbd90)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Consolidate logic for determining whether or not session is interactive
into a single function, is_interactive()
* Increase test coverage
I wasn't able to find a good way of simulating running a backgrounded test with CI since the
whole test is essentially run not in a TTY, which is similar enough to cause the new is_interactive()
function to always return false.
(cherry picked from commit 4b8cb6582b)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
sticky directory (#45198) (#72862)
* file: add symlink is in a sticky directory tests
* file: handle symlink in a sticky directory
The builtins import was removed since it was unused, but it is now needed.
(cherry picked from commit b464d18fd1)
Co-authored-by: Pilou <pierre-louis.bonicoli@libregerbil.fr>
Co-Authored-By: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
|
|
|
|
|
|
|
|
|
| |
(#72623) (#72866)
* Store target paths as unicode.
* Add changelog fragment.
(cherry picked from commit f94ba68d8f287918456c5de8115dafb0c69e8e7c)
|
|
|
|
|
| |
Backport of https://github.com/ansible-collections/ansible.netcommon/pull/135
* Fix iosxr tests
|
|
|
|
| |
(cherry picked from commit 64a809d2b611b102e9192918953e96c3c341729b)
|
|
|
|
|
|
| |
No changelog entry since this test is limited to the ansible/ansible repo.
Backport of https://github.com/ansible/ansible/pull/72842
|
|
|
|
|
|
| |
(cherry picked from commit 08842cd6bb0fd6ce3f53b2547993413a5eb6bf10)
Co-authored-by: Matt Clay <mclay@redhat.com>
|
|
|
| |
Signed-off-by: Rick Elrod <rick@elrod.me>
|
| |
|
| |
|
| |
|
|
|
| |
(cherry picked from commit d567a553a9a8bc56a87ea073ecd3bcff17685350)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [centos6] update container for EOL
Change:
- Reference:
https://lists.centos.org/pipermail/centos-devel/2020-December/056208.html
- Bump centos6 container to 1.25.0
Test Plan:
- ci_complete
Signed-off-by: Rick Elrod <rick@elrod.me>
* update EPEL 6 too which is now archived
Signed-off-by: Rick Elrod <rick@elrod.me>
* bump to 1.26.0
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pull image from Quay to avoid Dockerhub limits
CI tests are failing in certain situations due to the new Docker Hub limits on anonymous pulls. Switch
to pulling an equivalent image from Quay.io.
* Use correct layer SHAs
* Use an image with enough older shas to do the test correctly
* Use images we control on Quay for testing
* Use correct SHA for new images
* Use images from a single repo in Quay but with tags
* Use correct nginx image
* Use correct tags in docker-registry test
* Fix incorrect image name in debug message
* Use our busybox image
* Little more alpine image cleanup
|
|
|
|
|
|
|
|
|
| |
* Add RHEL 7.9 - ci_complete (#72558)
(cherry picked from commit d451433e5d96c9f2f8cbe30c316c128ff591edf1)
* Added changelog for RHEL 7.9 (#72572)
(cherry picked from commit bdd0c4883775d3d7b12d36f29ac7ebb49ed7134b)
|
|
|
|
|
|
|
|
|
|
|
| |
Change:
- The repo we were testing with no longer seems to exist. Point to one
that does.
Test Plan:
- local test in docker
- CI
Signed-off-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
|
|
| |
The recently released version of cffi fails to install on systems with an older version of gcc. In
our case, this in the CentOS 6 test image. There is a fix but it has not yet been released.
https://foss.heptapod.net/pypy/cffi/-/issues/480
|
|
|
| |
(cherry picked from commit 2eb97955437d33bd6b5f835a3233d88419518459)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#72409)
* Try to load network action plugin from the same collection as the module
* Alter tests to match
Just make sure the action plugin is as qualified as the module it is paired with
(cherry picked from commit 3dbc03d58a9dc17d3bb11873b026eeb3f001564b)
Co-authored-by: Nathaniel Case <ncase@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in CI (#72604) (#72609)
* Fix super annoying Python 2.6 multiprocessing.Queue stack trace in CI
A bug exists in Python 2.6 that sometimes raises an exception during interpreter shutdown. We
encounter this frequently in our CI since we run tests on CentOS 6 as the control node, which
has Python 2.6.6 with this bug.
This PR adds a very minor sleep only on Python 2.6 which gets around this issue. I did lot of testing
using a standalon script I found that easily duplicated the issue to find the minimum sleep value
needed to avoid this issue.
CPython issue: https://bugs.python.org/issue4106
Fix in CPython: https://hg.python.org/cpython/rev/d316315a8781
* Use correct attribute
(cherry picked from commit bbef250c2b)
Co-authored-by: Sam Doran <sdoran@redhat.com>
|
|
|
| |
(cherry picked from commit 5a3a2d1a39a610a820ec0142b93b0200222c05f3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Indent Jinja2 directives.
* Show version_added and deprecations for ini settings and environment variables.
* Make default conditional, add choices. Copied from #55474.
* Add Ansible variables. Copied from #55474.
* Turn ini keys and environment variables into lists. Copied from #55474.
* Improve formatting. Copied from #55474.
(cherry picked from commit 569d937df8cfc2bd0e4c9f62b5b25021ae5e5cc1)
|
|
|
|
|
|
| |
(cherry picked from commit f022dedd0a37ffa5fbe39b6e9e8aac52d799ca7b)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [stable-2.9] [dnf] Some fixes around filtering (#72483)
Change:
- Docs: Add note that security/bugfix apply to dependencies too, like
the dnf command.
- dnf: security/bugfix only makes sense for updates, so limit the
package query sack to available updates.
- tests: Limit tests to our known-good test packages, so that RHEL
packages marked security/bugfix without similarly marked dependencies
don't fail our tests.
Test Plan:
- Tested with `dnf upgrade-minimal --bugfix` and reproduced the same
error currently seen in CI, showing that we are consistent with what
dnf does.
Tickets:
- Likely fixes #72316
Signed-off-by: Rick Elrod <rick@elrod.me>
(cherry picked from commit d8c637da37)
Co-authored-by: Rick Elrod <rick@elrod.me>
* Add changelog (#72502)
(cherry picked from commit b33d7e2e29619c442210bbb2fbc3d057c350dad3)
Co-authored-by: Rick Elrod <rick@elrod.me>
|
|
|
|
|
| |
* clarify upstream release status of 2.10
(cherry picked from commit d76f85208daef0c6acf8b9b7e40ba88d113044a3)
|
|
|
|
|
|
| |
(cherry picked from commit 49d8d5ae3362c3eb32afdf4b1b4698b0681b9ffb)
Co-authored-by: Matt Clay <matt@mystile.com>
|
| |
|
| |
|