zorun
05fc96c927
facts: Add uptime fact for NetBSD ( #75431 )
...
* facts: Add uptime fact for NetBSD
This is copied from the current OpenBSD facts code.
Tested on the GCC compile farm: https://cfarm.tetaneutral.net/
* Added changelog fragment
Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
Co-authored-by: Jordan Borean <jborean93@gmail.com>
2 years ago
Ganesh Nalawade
1b1c2c79cf
Add configurable option for paramiko banner_ssh timeout ( #68184 )
...
* Add configurable option for paramiko banner_ssh timeout
This PR adds a configurable option for paramiko connection
to control the value of banner timeout in paramiko library.
The banner timeout value can be set in ansible.cfg file as
The default value of banner timeout is set to 30 seconds in
paramiko connection plugin.
```
[paramiko_connection]
banner_timeout = 30
```
or using enviornment variable
```
export ANSIBLE_PARAMIKO_BANNER_TIMEOUT=30
```
* Fix CI failure
* Fix review comments
* Fix review comment
2 years ago
Felix Fontein
570379ef98
Do not crash callbacks if exception is not a string. ( #77781 )
2 years ago
Matt Clay
5f5c4ef2ef
Remove incidental_inventory_foreman test.
2 years ago
Matt Clay
a4e4413cde
ansible-test - Update distro containers to 4.3.0.
...
The primary change in this update is removal of `/etc/ansible/hosts` from the containers.
2 years ago
Matt Clay
5b3557f8ba
ansible-test - Allow docstring in docs-only module
2 years ago
Matt Davis
6e78425f8d
fix pip module resolution ( #78000 )
...
* `importlib.util` appears to be lazily imported and is sometimes unavailable as an attribute of `importlib` without an explicit import
2 years ago
Sloane Hertel
db335498d0
ansible-galaxy - ensure variable is defined for any error when getting the ansible-core distribution ( #77993 )
2 years ago
Matt Clay
c2b36ba04d
ansible-test - Update base and default containers.
2 years ago
Matt Clay
23914d3f0b
ansible-test - Adjust unit test mock usage. ( #77961 )
2 years ago
Matt Clay
5a0b230e24
Make fuzzy plugin matching deterministic.
2 years ago
Sloane Hertel
e059dde9fb
Add missing inventory cache test ( #77990 )
...
Fix intentional coverage to replace incidental_inventory_foreman
ci_complete
ci_coverage
2 years ago
Sloane Hertel
9d6cc7b576
unarchive - fall back to unzip -Z if zipinfo is not available ( #76971 )
...
Add a new handler class ZipZArchive to use unzip -Z as an alternative to zipinfo
Run 'unzip -Z' in can_handle_archive so we fall back to the next handler if it's not available (failing in is_unarchived is too late)
* Add a test for unzip -Z when zipinfo is not available
* Update test for missing binary altogether by removing /usr/bin from the PATH
2 years ago
Sloane Hertel
a43112290a
fix ansible-galaxy-collection test with revoked key ( #77989 )
...
* Remove unnecessary gpg passphrase
2 years ago
Felix Fontein
ca9be6e27e
Fix docs links for the steering committee ( #77974 )
2 years ago
Ompragash Viswanathan
a30500144e
docs: Update porting guide for ansible 6.0.0rc1 ( #77991 )
2 years ago
Sloane Hertel
e89176caac
Pin PyYAML version compatible with Python 3.8+ ( #77936 )
...
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: Matt Clay <matt@mystile.com>
2 years ago
Ompragash Viswanathan
f9d4c26143
docs: Update porting guide for ansible 5.9.0 ( #77982 )
2 years ago
Matt Martz
5e369604e1
Forked display via queue ( #77056 )
...
* Forked Display via queue
* Docs and simple code cleanup
* Only proxy Display.display
* Remove unused import
* comment
* Update deadlock comment, remove py3 check
* Don't flush display, and don't lock from forks
* clog frag
* ci_complete ci_coverage
* Add units for queue proxying
* Cleanup flush
* ci_complete
* Only lock the write, switch to RLock
* Remove unused import
2 years ago
Martin Krizek
0fae2383da
Add macOS fork issue to FAQ ( #77965 )
...
* Add macOS fork issue to FAQ
* Remove colon from error msg
2 years ago
Sloane Hertel
143e7fb45e
ansible-galaxy - support resolvelib versions >= 0.5.3, < 0.9.0 ( #77649 )
...
* ansible-galaxy - support resolvelib versions >= 0.5.3, <= 0.8.1
Test incompatibilities are removed for resolvelib >= 0.6.0
Test against the latest 0.8.x version and fix requirements
* Fix tests - use a venv for testing the range of resolvelib versions
* Update temporary hardcoded fallback for ansible-test
* Update hardcoded upperbound for sanity tests
* Make error check more flexible
2 years ago
Matt Clay
df765c0ecf
ansible-test - Update Alpine, openSUSE containers
2 years ago
Matt Clay
fe2d8b7066
Skip libuser tests on openSUSE 15.4+
...
The libuser package is not available.
2 years ago
Matt Clay
e31e918e04
Don't install lgroupadd for SUSE tests.
...
It's not used by the tests and is not available as of openSUSE 15.4.
2 years ago
Brian Coca
89c6547892
preserve add_host/group_by on refresh ( #77944 )
...
* preserve add_host/group_by on meta: refresh_inventory
Co-authored-by: Jordan Borean <jborean93@gmail.com>
2 years ago
Matt Clay
52c8613a04
ansible-test - Skip mypy runs under Python 3.11.
2 years ago
Matt Clay
11b6032e73
ansible-test - Ignore vendored code in mypy test.
2 years ago
Sloane Hertel
6c6a7851ed
Add inventory cache integration tests ( #77895 )
...
* Add intentional coverage for incidental_inventory_foreman coverage cache tests
ci_complete
ci_coverage
2 years ago
Matt Clay
5391150b30
Integration tests for invalid group name.
2 years ago
Mario Lenz
0ff1ba3e12
Move AWS guidelines to collection ( #77959 )
2 years ago
Sloane Hertel
1706d35fc4
ansible-galaxy-collection - use --pinentry-mode loopback for gpg key revocation ( #77967 )
3 years ago
Martin Krizek
39b3581316
Deprecate non lists lookups ( #77875 )
3 years ago
Brian Coca
a01815f3ce
added note to omit -t all ( #77956 )
3 years ago
Sloane Hertel
c908d782fb
get_url - permit to have a checksum only file ( #77948 )
...
checksum can also accept a checksum only file (no filename beside the checksum).
fixes #54390
Co-authored-by: Baptiste Mille-Mathias <baptiste.millemathias@gmail.com>
3 years ago
Andrew Klychkov
e589eba506
Docs: change community collection inclusion process ( #77905 )
3 years ago
Dan Kolepp
16e0d4a121
fix: update button text to "Load token" ( #77925 )
3 years ago
Don Naro
15750aec52
ssh retry docs addition ( #77930 )
3 years ago
Sloane Hertel
f270b4e224
Fix items2dict errors for incorrect list item type and missing keys ( #77946 )
...
* Fix items2dict errors for incorrect list item type and missing keys
* keep dict comprehension
3 years ago
Don Naro
89e4fb71e6
Issue #77681 revamp getting started guide ( #77897 )
3 years ago
Martin Krizek
058a69e6b0
Properly send a skipped message for empty templated loop ( #77945 )
...
Fixes #77934
3 years ago
Matt Clay
81351022d8
ansible-test - Prefer unittest.mock for core.
3 years ago
Matt Clay
f933314101
ansible-test - Fix shell target options handling.
3 years ago
Matt Clay
86779cc903
ansible-test - Code cleanup.
...
This helps prepare for a future pylint upgrade.
3 years ago
Mario Lenz
b69eb28ed2
Migrate community.vmware Dev Guide to collection ( #77723 )
3 years ago
Kristian Heljas
9767cda507
Make `ignore_unreachable` to count `ignored` counter
...
Fixes #77690
3 years ago
Sloane Hertel
e6075109d0
Remove incidental_inventory_aws_ec2 and supporting plugins ( #77877 )
...
* Remove aws/2.7 and aws/3.6 from incidental test matrix entries
* Remove aws.sh symlink
3 years ago
Matt Clay
bd849b3076
Fix ansible-runner integration tests.
3 years ago
Sandra McCann
f3c684564c
Remove platform dev guides from core docs ( #77915 )
3 years ago
Julien Lecomte
33beeace10
Fix lusermod using a group name and not id ( #61965 ) ( #77914 )
...
* Fix lusermod using a group name and not id (#61965 )
3 years ago
David Moreau Simard
9f7956ba30
docs: add missing notes in porting guide for 6.0.0b1 ( #77926 )
...
There was an issue with the changelog in community.network 4.0.0, it's
been fixed in 4.0.1 and now properly included.
3 years ago