Commit Graph

51497 Commits (d945c66b36ce1dbd47d7149311b33db2340bc873)
 

Author SHA1 Message Date
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>
3 years ago
Jordan Borean 02716851db
LinkUtil - ignore LIB env var (#76184) (#76203)
(cherry picked from commit db2aee558b)
3 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)
3 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
3 years ago
Matt Clay 2154722490 [stable-2.11] 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 a6893920a4
remove fest banner (#75901) (#76215)
* remove fest banner

* fix nit

(cherry picked from commit 8e77943a97)
3 years ago
Sandra McCann d408e42926
set 2.12 to latest (#76191) (#76250)
* set 2.12 to latest
* add 2.10 back

(cherry picked from commit b16d5ff7a7)
3 years ago
Yanis Guenane 2d02ed5d75
Update Japanese translation for stable-2.11 (#76016) 3 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>
3 years ago
Matt Clay 17ef15a534 [stable-2.11] Fix subversion test.
Switch to a different repo that isn't giving 503 errors since GitHub hasn't fixed the issue yet..
(cherry picked from commit 319b50f04c)

Co-authored-by: Matt Clay <matt@mystile.com>
3 years ago
Christian Adams eb7809e0e2
Update Ansible release version to v2.11.6.post0. (#76006) 3 years ago
Christian Adams 5394eae49a
New release v2.11.6 (#75999) 3 years ago
Jordan Borean 651e69064d ansible-test pslint - fix warning with nested objects (#75792)
* ansible-test pslint - fix warning with nested objects

(cherry picked from commit 7e19957afa)
3 years ago
Christian M. Adams 7fa59ed674
Update Ansible release version to v2.11.6rc1.post0. 3 years ago
Christian M. Adams d4e1017614
New release v2.11.6rc1 3 years ago
Sandra McCann a20323da3b
config: small typo fix (#74845) (#75864)
(cherry picked from commit 99a983c92c)

Co-authored-by: Boris Korzun <drtr0jan@yandex.ru>
3 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>
3 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>
3 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)
3 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)
3 years ago
Abhijeet Kasurde afbddce345
[bp-2.11] Update examples/scripts/uptime.py (#75796)
Fixes missing parameter 'verbosity'

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit 39a49963b5)
3 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>
3 years ago
Christian M. Adams 4737c01acb
Update Ansible release version to v2.11.5.post0. 3 years ago
Christian M. Adams 2fdb9767e9
New release v2.11.5 3 years ago
Christian M. Adams 640063c02d
Update Ansible release version to v2.11.5rc1.post0. 3 years ago
Christian M. Adams 766fcdb493
New release v2.11.5rc1 3 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)
3 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)
3 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)
3 years ago
Brian Coca 49f0d06bd9
adjusted link to the proper branch (#75629) 3 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)
3 years ago
Sloane Hertel e4fb928b5f
[2.11] Improve ansible-galaxy error for InconsistentCandidate exception (#75462)
* Improve ansible-galaxy error for InconsistentCandidate exception (#75235)

* Improve error for InconsistentCandidate exceptions

* Add test case for installing a collection with an inconsistent version

* Add test case for installing a collection that has a dependency with an inconsistent version

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
(cherry picked from commit e24eb59de5)

* Handle extra stderr for Python 2.7
3 years ago
Akira Yokochi d8c40ae504
fix option name for parsed (#75229) (#75596)
(cherry picked from commit 9af0d91676)
3 years ago
Brian Coca ad4d00e1db
Clarify get_bin_path error message (#75544) (#75564)
(cherry picked from commit 3ca50a2200)
3 years ago
Brian Coca 463cf9fe24
Attributes compat (#75563)
* ignore attributes in output

* ignore 'attributes' for json dump

* actually add file

* clog

* sometimtes its not a dict

* always ignore

* also allow validation to work on newer modules

* remove attributes doc

  let existing overrides display, wont be full info but still pertinent info
  though user will have to check newer versions
3 years ago
Brian Coca 8c105c0f61
validate_args_spec, use combine vars and in precedence (#75471) (#75602)
* combine vars and in correct precedence
* add examples

(cherry picked from commit 2462ec74a0)
3 years ago
Brian Coca 8b34aab732
Fix --list-hosts when undefined var is used (#75533) (#75551)
fixes #75354

(cherry picked from commit ff72908b4d)
3 years ago
Brian Coca d6da3b8c85
Return correct url for relative paths in messages (#75562) 3 years ago
Deric Crago bb6355c453
backport of #75567 (#75571)
updated 'Installing Ansible on Debian' details (#75567)
3 years ago
Martin Krizek a6f24c407c
Fix templating task action with host-specific vars (#75600) (#75613)
Fixes #75568

(cherry picked from commit 9c2f44b884)
3 years ago
Martin Krizek 999c2e603d
paramiko_ssh - mark connection as connected when successful (#74459) (#75614)
* Remove unused import from test

(cherry picked from commit 74b2add460)

Co-authored-by: Sam Doran <sdoran@redhat.com>
3 years ago
Alicia Cozine 2af206399d
makes Fest link from docs trackable (#75594) (#75595)
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
(cherry picked from commit e35e8ed2ec)
3 years ago
Felix Fontein 9691eb5f20
Also allow .yml. (#75439) (#75460)
(cherry picked from commit 0055a328b3)
3 years ago
Alicia Cozine 5a35a95ceb
new antsibull supports breadcrumbs toggle (#75424) (#75425)
* new antsibull supports breadcrumbs toggle

* let antsibull versoin float free

Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
(cherry picked from commit d9d98740f2)
3 years ago
Andrew Klychkov 9e022484b7
Docsite: improve reporting_bugs_and_features.rst (#75234) (#75450)
* Docsite: improve reporting_bugs_and_features.rst

* Add clarification

(cherry picked from commit 61b81bcd10)
3 years ago
Sandra McCann 362e6c5cc4
Add AnsibleFest banner (#75476) (#75493)
* add AnsibleFest banner

* fix nit

(cherry picked from commit dc6878007b)
3 years ago
Rick Elrod 9dba4dbf82
[hacking] finally update announce script for core (#75523)
Change:
- s/base/core/ in announcement script for releases

Test Plan:
- Have been using it locally every time

Signed-off-by: Rick Elrod <rick@elrod.me>
3 years ago
Christian M. Adams 96d2f79e4c
Update Ansible release version to v2.11.4.post0. 3 years ago
Christian M. Adams 2344b18382
New release v2.11.4 3 years ago
Alicia Cozine f22eab3dfe
fixes typo in changelog entry (#75461)
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
3 years ago