Commit Graph

50701 Commits (08404fc511cafb2d5569ad26845e022c11e90d4f)
 

Author SHA1 Message Date
Matt Clay 08404fc511 [stable-2.10] Fix pip integration test.
- Use `fallible==0.0.1a2` instead of `black==19.10b`
- Test on both Python 2 and 3.
(cherry picked from commit b6725ec6c9)

Co-authored-by: Matt Clay <matt@mystile.com>
3 years ago
Sandra McCann 2eead921ad
set 2.12 to latest (#76191) (#76251)
* set 2.12 to latest
* add 2.10 back

(cherry picked from commit b16d5ff7a7)
3 years ago
Christian Adams 720eef8c3a
Update Ansible release version to v2.10.15.post0. (#76004) 3 years ago
Christian Adams ff603897d2
New release v2.10.15 (#75998) 3 years ago
Christian M. Adams 23f3d0631f
Update Ansible release version to v2.10.15rc1.post0. 3 years ago
Christian M. Adams 5d92c7212f
New release v2.10.15rc1 3 years ago
Matt Clay c7996fe90e ansible-test - remove obsolete power/centos remote 3 years ago
Nathaniel Case 7596e9420c
netconf - handle import error when running in FIPS mode (#73992) (#75707)
* Handle netconf plugin ncclient import error when running in FIPS mode

*  While running in FIPS mode importing ncclient result in
   InternalError raised by cryptography
*  Refer https://github.com/ansible/ansible/pull/65477

(cherry picked from commit d8bf4206e4)

Co-authored-by: Ganesh Nalawade <ganesh634@gmail.com>
3 years ago
Jordan Borean 87e77a93a9
PowerShell - Ignore LIB env var when building C# code (#75698) (#75724)
* PowerShell - Ignore environment variables when building C# code

* Just unset LIB for now

* Fix sanity issue

(cherry picked from commit 097bc07b66)
3 years ago
Matt Martz 2cdc3834c9
[stable-2.10] Don't show params when there is an issue with `set_option(s)` (#75805) (#75809)
(cherry picked from commit 79e9dae)

Co-authored-by: Matt Martz <matt@sivel.net>
3 years ago
Matt Clay a00c61719b ansible-test - Fix `pylint` error.
This prevents `pylint` from failing with warnings reported as errors and with no test results given.

Resolves https://github.com/ansible/ansible/issues/75791
3 years ago
Sam Doran ac1132e2a5
[stable-2.10] ansible-test - pin antsibull to prevent failures (#75801)
A recent release of antsibull is causing docs-build sanity tests to fail and
it was not properly pinned in stable-2.10 branch.
3 years ago
Christian M. Adams 036fd07bd3
Update Ansible release version to v2.10.14.post0. 3 years ago
Christian M. Adams 2421b476c5
New release v2.10.14 3 years ago
Christian M. Adams 667c5a4319
Update Ansible release version to v2.10.14rc1.post0. 3 years ago
Christian M. Adams 7b414d094c
New release v2.10.14rc1 3 years ago
Brian Coca e10a4d511d
various fixes to command (#74212) (#74258)
* various fixes to command

  - Updated splitter to allow for all expected args in ad-hoc
  - Ensure we always return the returns we promissed to always return (i.e stderr/stdout)
  - Updated docs to clarify creates/removes precdence in checking
  - Removed abspath from chdir to allow reporting to handle symlinks correctly
  - Corrected tests to new output messages

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit b3b1dde648)
3 years ago
Brian Coca aa08dc6633
Pipe it to connections (#73688) (#73914)
* pipelining tweaks
  added 'defaults'  entry for ini pipelining from ssh plugin

(cherry picked from commit 9690512069)
3 years ago
Brian Coca 12c4661bbb
Attributes compat (#75563) (#75621)
* ignore 'attributes' for json dump

  let existing overrides display, wont be full info but still pertinent info
  though user will have to check newer versions

(cherry picked from commit 463cf9fe24)
3 years ago
Brian Coca 5bc16fcc15
fixed for 2.10 (#75630) 3 years ago
Christian M. Adams 15cf9f1db2
Update Ansible release version to v2.10.13.post0. 3 years ago
Christian M. Adams 6890692d3f
New release v2.10.13 3 years ago
Rick Elrod 6919726435 Update Ansible release version to v2.10.13rc1.post0. 3 years ago
Rick Elrod e025d9c6d0 New release v2.10.13rc1 3 years ago
Sloane Hertel ff19924a7d
Fix dnf test assertion (#75426) (#75428)
(cherry picked from commit e23fdee45e)
3 years ago
Sloane Hertel c1dd0caf2a
Fix dnf package matching (#75411) (#75417)
* Fix a bug with the dnf module not using all components of a package name when filtering to determine if it's installed

* changelog

* Simplify splitting on the last '.'

* Update lib/ansible/modules/dnf.py

(cherry picked from commit b541a148d5)
3 years ago
Matt Martz 0cf5666778
[stable-2.10] allow env to override unspecified unsafe_writes (#73282) (#75396)
* allow env var for fallback value for unspecified unsafe_writes
(cherry picked from commit c7d4acc)

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>

Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
3 years ago
Brian Coca ef53017c1a
restores delegated vars that were not passed (#74371) (#75346)
* restores delegatd vars that were not passed

   this will restore delegate display on callbacks using the vars
   also moves to use delegate_to directly on the default callback

* clog

(cherry picked from commit cbc83545582d8d7a718140263c465129e0e535d9)
(cherry picked from commit ed456f25f6)
3 years ago
Martin Nečas 93070d5dc6
Backport 2.10: Setup virtualization_facts - add RHV and oVirt type (#73905)
* Setup virtualization_facts - add RHV and oVirt type

Signed-off-by: mnecas <necas.marty@gmail.com>

* initialize sys_vendor only once

* add changelog

* Update 72876-setup-facts-add-redhat-vendor.yml

* Update linux.py
3 years ago
Felix Fontein 46819a65fa Allow to ignore rstcheck errors. 3 years ago
Sloane Hertel 005833ab44
Improve 2.10 role dependency deduplication documentation (#75258) 3 years ago
Rick Elrod b61bd959c3 Update Ansible release version to v2.10.12.post0. 3 years ago
Rick Elrod add2dca4b1 New release v2.10.12 3 years ago
Rick Elrod 5e7b492ead Update Ansible release version to v2.10.12rc1.post0. 3 years ago
Rick Elrod 2e93c12ac5 New release v2.10.12rc1 3 years ago
René Moser 3ee1694dfe
[2.10] get_url: Fix checksum binary validation (#74674)
* get_url: Handle same SHA sum for downloaded files (#71435)

Fixes: #71420

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 159544610e)

* modules: get_url: Fix checksum binary validation (#74502)

From the sha512sum man page:

... The default mode is to print a line with checksum, a character indicating type ('*' for binary, ' ' for text), and name for each FILE.

(cherry picked from commit 403a5d147d)

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
3 years ago
Abhijeet Kasurde e0cb0671af
[bp-2.10] get_url - Allow checksum file to be local file:// (#75052)
This would be a partial solution for #69364 in that the
SHASUMS file can be downloaded and gpg verified but then
used from the downloaded location to verify the get_url's file.

* Make checksum url parsing more explicit

Use urlsplit to test if the checksum string has a (currently tested and) supported url scheme.

(cherry picked from commit eb8b3a8479)

Co-authored-by: Edwin Hermans <edwin@madtech.cx>
3 years ago
Gonéri Le Bouder 9e5091ab5c
ansible-test: exposes tiny_prefix variable (#75129)
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 5b8fb4dcd3)
3 years ago
Felix Fontein e2c60cee80
Do not show empty version_added_collection values in ansible-doc text output. (#74999) (#75004)
(cherry picked from commit 58450f041a)
3 years ago
Felix Fontein 676ed22a99 [stable-2.10] Restrict packaging to < 21.0 for Python < 3.6. (#75186).
(cherry picked from commit 67bc49e001)

Co-authored-by: Felix Fontein <felix@fontein.de>
3 years ago
Andrew Klychkov 197458d9ac
collections_using.rst: add note that manual upgrade is required when installing collections from Galaxy (#75024) (#75026)
(cherry picked from commit 5df82415b5)
3 years ago
Abhijeet Kasurde 50ef1599a1
[bp-2.10] Clarify Vault password client naming requirements (#75082)
(cherry picked from commit aedc82da98)

Co-authored-by: Andreas Olsson <andreas@arrakis.se>
3 years ago
David Shrewsbury 2c2e168eff
remove reference to container ML (#75014) (#75029)
(cherry picked from commit 2387ce311f)
3 years ago
Andrew Klychkov b41d32c237
Due to the takeover of freenode we're moving to a different irc network. (#74775) (#75006)
* Update channel references to point at the same channel name on libera.chat
* Update generic links to https://libera.chat
* In general, use irc.libera.net for link names/text and https://libera.chat for link targets.
  The irc service is hosted on irc.libera.chat but the project web server is hosted on
  libera.chat.
* Removed http://irc.freenode.net from the linkcheck exceptions.
* Add a link to where contributors should get support
for developing groups of modules to docs/docsite/rst/dev_guide/developing_modules_in_groups.rst

Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 80e7e1a17c)

Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
3 years ago
Rick Elrod 0f6c6f89ec Update Ansible release version to v2.10.11.post0. 3 years ago
Rick Elrod 4d849f9a4f New release v2.10.11 3 years ago
Rick Elrod de4a08e22d Update Ansible release version to v2.10.11rc1.post0. 3 years ago
Rick Elrod 96681819e8 New release v2.10.11rc1 3 years ago
Jordan Borean 9e90c873c4
psrp - cleanup command (#74985) (#75000)
(cherry picked from commit 58d8397771)
3 years ago
Sloane Hertel e30ffb8499
[2.10] Fix using module-specific module_defaults in action plugins (#74850)
* 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 5640093f1c)

* Fix tests for < 3.8

(cherry picked from commit 267b7215b3)
3 years ago