Commit Graph

31473 Commits (ef46bc46f459cf702f098d64b37c74cf0557ebd7)

Author SHA1 Message Date
Matt Martz ef46bc46f4
[stable-2.11] Use full python package for ansiballz cache filenames (#77090) (#77126)
* [stable-2.11] Use full python package for ansiballz cache filenames (#77090)

* Use full python package for ansiballz cache filenames

* Be a little more explicit about test goals
(cherry picked from commit 8cbe143)

Co-authored-by: Matt Martz <matt@sivel.net>

* linting
4 years ago
Christian Adams 995ca083db
Update Ansible release version to v2.11.9.post0. (#77162) 4 years ago
Christian Adams 73e6d023b8
New release v2.11.9 (#77157) 4 years ago
Christian Adams adfca2bdc9
Update Ansible release version to v2.11.9rc1.post0. (#77130) 4 years ago
Christian Adams 715fa4fdde
New release v2.11.9rc1 (#77123)
Signed-off-by: Christian M. Adams <chadams@redhat.com>
4 years ago
Brian Coca 5c2251504c
ssh connection: use 'correct' host in all cases (#76017) (#76969)
ssh plugin, use 'correct' information source in all cases
  * still fallback to pc
  * added inventory to new test
  * undef var can still show as parser error on pc
    now task_exectuer has a  more accurate error handling

(cherry picked from commit be19863e44)
4 years ago
Brian Coca f7f27ade2d
gather_facts sees collection networking connection (#76954) (#76964)
needed to properly propagate some arguments by convention: subset, filter

Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
(cherry picked from commit 5bddecb048)
4 years ago
Brian Coca ee112d9984
fix block var inheritance (#75287) (#76897)
* updated tests to conform to new block inheritance

Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
(cherry picked from commit b1d6750e8b)
4 years ago
Brian Coca 6916e152ff
clean_facts only show variable name (#76974) (#76985)
(cherry picked from commit 47faa6e206)
4 years ago
Matt Clay cc97353702
[stable-2.11] ansible-test - Use relative paths in junit output. (#76909)
* [stable-2.11] ansible-test - Use relative paths in junit output. (#76871)

* ansible-test - Use relative paths in junit output.
* ansible-test - Handle out-of-tree JUnit paths.
* Also fix a traceback in the junit callback during automatic fact gathering.

(cherry picked from commit fbb5d56bd2)

* Fix task path unicode error in junit callback.

(cherry picked from commit 41db6d8d35)
4 years ago
Dimitri Savineau 4081c8d239
Update Ansible release version to v2.11.8.post0. (#76905) 4 years ago
Dimitri Savineau e40051f7c0
New release v2.11.8 (#76891) 4 years ago
Dimitri Savineau 80c9a74c55
Update Ansible release version to v2.11.8rc1.post0. (#76833) 4 years ago
Dimitri Savineau f0bcb858a9
New release v2.11.8rc1 (#76830) 4 years ago
Brian Coca a280645022
service_facts, now more accurate on systemd (#75326) (#76018)
* service_facts, now more accurate on systemd

(cherry picked from commit 82bab063e7)
4 years ago
Brian Coca 6b4fcdf59f
bacwards compat doc frag (#75819) 4 years ago
Matt Martz b4c1688809
[stable-2.11] Compare FQCN also in lockstep logic. Fixes #76782 (#76787) (#76797)
(cherry picked from commit 29bdb8b)

Co-authored-by: Matt Martz <matt@sivel.net>
4 years ago
Brian Coca a58c2a39d3
include_vars initialize failed (#76754) (#76785)
* 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

(cherry picked from commit 89c884e2a2)
4 years ago
Brian Coca 4eac144d7e
ssh connection avoid parsing own debug (#76732) (#76756)
* ssh connection avoid parsiing own debug (#76732)

  - 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

(cherry picked from commit 0ff80a15ba)

* unicoode

* dont make em ascii
4 years ago
Brian Coca a72e3d14b3
ssh connection, handle 'fun' control paths (#76424) (#76694)
* handle 'fun' control paths by quoting the option when passed to ssh cli

Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit aa022dba2d)
4 years ago
Felix Fontein 4d222aefd9
[2.11] Use correct markup in documentation (#76575)
* Use correct markup in documentation (#76545)

(cherry picked from commit 9d1898b1ef)

* Fix markup.

(cherry picked from commit c24c479061)
4 years ago
Jordan Borean 39b6dec937
galaxy build - ignore existing MANIFEST and FILES (#76479) (#76499)
(cherry picked from commit 8482ee4e9a)
4 years ago
Tadej Borovšak 6da3cf51a3
Fix zip content filtering in unarchive module (#76069) (#76420)
When we introduced an include parameter to the unarchive module, we
inadvertenly flipped the exclusion logic. This flip meant that the
unarchive module started rejecting files that should be extracted.

This commit flips the bad logic and adds some tests that will make
sure things do not go bad again.

(cherry picked from commit f92830d16e)
4 years ago
jamesmarshall24 21c65df1fb
Update Ansible release version to v2.11.7.post0. (#76481) 4 years ago
jamesmarshall24 0e828b45a7
New release v2.11.7 (#76476) 4 years ago
Dimitri Savineau a6875a518b
Update Ansible release version to v2.11.7rc1.post0. (#76396) 4 years ago
Dimitri Savineau 9efa8c81d6
New release v2.11.7rc1 (#76391) 4 years ago
Vlad Mencl d945c66b36
set host_key_checking check to False, rather than if not (which captures False and None) (#75168) (#76206)
* set host_key_checking check to False, rather than if not (which captures False and None)
* add host_key_checking default to ssh.py / update documentation

(cherry picked from commit d527be8a52)

Co-authored-by: James Spurin <james@spurin.com>
4 years ago
Jordan Borean 02716851db
LinkUtil - ignore LIB env var (#76184) (#76203)
(cherry picked from commit db2aee558b)
4 years ago
Sloane Hertel 4079bc948b
Skip recursive suboption validation if sub_parameters is not a dict (#75635) (#76189)
* Skip recursive suboption validation if sub_parameters is not a dictionary

* Ensure sub parameter elements is a sequence to prevent iterating over string characters and causing duplicate error messages for the same param

(cherry picked from commit b5ed41edb3)
4 years ago
Matt Martz a17581efa6
2.11 `action_groups` normalization (#76171)
* Have tests use shortname in action_groups to uncover an issue

* Alias shortname from action_groups to FQCR of owning collection

* Add clog frag

* Don't overwrite
4 years ago
Rémi REY 26eae8d18a
[bp-2.11]: hostname: update example with 'use' (#75990)
* hostname: Change "strategy" to "use" (#74815)

Fixed typo: 'strategy' to 'use'

(cherry picked from commit 63701b1b6b)

* Add changelog fragment for backport of #74815

Co-authored-by: bdouxx <bdouxx-git@yahoo.fr>
4 years ago
Christian Adams eb7809e0e2
Update Ansible release version to v2.11.6.post0. (#76006) 4 years ago
Christian Adams 5394eae49a
New release v2.11.6 (#75999) 4 years ago
Christian M. Adams 7fa59ed674
Update Ansible release version to v2.11.6rc1.post0. 4 years ago
Christian M. Adams d4e1017614
New release v2.11.6rc1 4 years ago
Sandra McCann a20323da3b
config: small typo fix (#74845) (#75864)
(cherry picked from commit 99a983c92c)

Co-authored-by: Boris Korzun <drtr0jan@yandex.ru>
4 years ago
Nathaniel Case a22fb928a5
netconf - handle import error when running in FIPS mode (#73992) (#75706)
* 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>
4 years ago
Sloane Hertel 4967b8650c
Fix unexpected exception when a role has an empty argument_specs.yml (#75604) (#75684)
* Fix role with empty argument_specs.yml

* Use try/except and add changelog fragment

* Always return a dict

* Add test for empty argument_specs key

(cherry picked from commit 3e7a622204)

Co-authored-by: devon-mar <devon-mar@users.noreply.github.com>
4 years ago
Jordan Borean 15f5886479
PowerShell - Ignore LIB env var when building C# code (#75698) (#75725)
* PowerShell - Ignore environment variables when building C# code

* Just unset LIB for now

* Fix sanity issue

(cherry picked from commit 097bc07b66)
4 years ago
Sloane Hertel d9d5d2d93e
Try all galaxy servers when locating available versions for a collection (#75468) (#75750)
* If an exception occurs when getting a collection's metadata, continue to the next in the server list.

* Warn for unknown exceptions when finding versions of a collection

* Test that an invalid server is no longer fatal if a subsequent server has the collection

* Fix server for verify tests - compare checksums against the server from which it was installed

* Add tests for verify and fix that code path to mirror install/download behavior for server errors

Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit 469b559ebe)
4 years ago
Matt Martz f2b14b9aa3
[stable-2.11] Don't show params when there is an issue with `set_option(s)` (#75805) (#75808)
(cherry picked from commit 79e9dae)

Co-authored-by: Matt Martz <matt@sivel.net>
4 years ago
Christian M. Adams 4737c01acb
Update Ansible release version to v2.11.5.post0. 4 years ago
Christian M. Adams 2fdb9767e9
New release v2.11.5 4 years ago
Christian M. Adams 640063c02d
Update Ansible release version to v2.11.5rc1.post0. 4 years ago
Christian M. Adams 766fcdb493
New release v2.11.5rc1 4 years ago
Brian Coca 6e011d0809
various fixes to command (#74212) (#74257)
* 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)
4 years ago
Brian Coca 7425bf093d
setup module, dont truncate hpux interfaces (#75423) (#75490)
* setup module, dont truncate hpux interfaces

  fixes #70533

 no hpux to test so relying on man page and users that reported successful testing

(cherry picked from commit 03083c3139)
4 years ago
Brian Coca 9437c6f465
Avoid accessing delegated vars when you dont have a host (#75524) (#75534)
* avoid getting delegated vars w/o inventory host

 fixes #75512

 In the case of imports, we don't have a host, so getting host vars for
 the delegated host makes no sense and should be avoided.

* also avoid error on vars_files with per host vars

* test

* testing given case

* oops

(cherry picked from commit 91319c5cfc)
4 years ago
Sloane Hertel 01f024df79
Fix build_ignore when installing a collection from source (#75547) (#75623)
* Make individual dirs that should exist instead of using shutil.copytree

* Test build_ignore when installing collections in git repos

* changelog

* Fix assertion
Fix git directory

* Fix nested content while building the collection dir

Test installing a collection from a git repo and artifact have the same result

Refactor to use variables

(cherry picked from commit f38a97cece)
4 years ago