| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* apt module, prevent tb from invalid type for pkg
see #78663
(cherry picked from commit 7acd4f75c037974be7fa4e7eabe55152dfc57500)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#78826) (#78837)
* [stable-2.13] Add ssh_args and friends back, add var for proxy_command (#78826)
Fixes #78750
(cherry picked from commit 1b47def)
Co-authored-by: Matt Martz <matt@sivel.net>
* Remove non-backportable changes
(cherry picked from commit ba2938a388c065da7897aceb2d0890a656957cd3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#78791)
* apt - fix failure when package is not installed and only_upgrade=True (#78781)
* apt - fix module failure when package is not installed and only_upgrade is True
* changelog
(cherry picked from commit 4b45b4b09d9257006f7b23237293c8c1a04521d8)
* apt - fix module short-circuiting when a package is not installed and only_upgrade is True
(cherry picked from commit 14f46845f9e74aac26aa54004c88a414926afc6a)
|
|
|
|
|
|
|
|
|
|
| |
(#78722)
* Limit Galaxy API calls during ansible-galaxy collection dependency resolution when possible
Installing a tarfile with a dependency from a Galaxy server (e.g. dependencies: {'ns.coll': '>=1.0.0'}) does not get the available versions of the dependency from the galaxy server if a sufficient version is already installed.
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit 41b62f7db459b7c3a1d97302da3b9f2cbf302670)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#78598 (#78878)
* Fix known_hosts changed status when removing non-existing key (#78748)
* Ensure no change is reported when removing missing key for host with other keys
Co-authored-by: Matt Martz <matt@sivel.net>
* Add changelog for fix known hosts wrong changed status cherry pick
* Remove old changelog for fix known hosts wrong changed status
* Rename changelog according to PR number
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
| |
create specific function to find config entry to avoid repopulating constantly
(cherry picked from commit 4115ddd135a0445092c9f9a7b5904942ceedd57c)
|
|
|
|
|
|
|
|
| |
- Allow disabled, unsupported, unstable and destructive integration test targets to be selected using their respective prefixes.
- Allow unstable tests to run when targeted changes are made and the ``--allow-unstable-changed`` option is specified (resolves https://github.com/ansible/ansible/issues/74213).
(cherry picked from commit d3d7785472ce18ee79c2abb893be1cf40ff563dd)
Co-authored-by: Matt Clay <matt@mystile.com>
|
|
|
|
|
|
|
| |
(#78849)
(cherry picked from commit 2542048)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add galaxy docs back to core' (#78764)
(cherry picked from commit df6a564abd9a63e1bff0ad14f9b800ceccc2da31)
* Ansible 6.4.0: Porting Guide (#78775)
(cherry picked from commit d4407ca68822b1f12254957ec9918f94c23d374f)
* Documented connection parameters required to enable scp (OpenSSH >=9.0) (#78745)
(cherry picked from commit 952ee88f33de4d49ff5f7bd4bec3431a4b0fdc78)
* Fix Issue #78564 (#78741)
(cherry picked from commit f50ff1c2dbb2eee88b2ac9e50e9f13d942e41f12)
* faq legacy vs builtin (#78769)
(cherry picked from commit db33ca8e1a8b9805eb0a074eee86aaa2237065cd)
* Removed repeated introduction paragraph (#78691)
(cherry picked from commit e276770ee9efac3a98c3f1116d9cd9c992ca8c9e)
Co-authored-by: Ompragash Viswanathan <21008429+Ompragash@users.noreply.github.com>
Co-authored-by: wnjuguna <jbworldus@gmail.com>
Co-authored-by: Ronan <ronandoudies@gmail.com>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(cherry picked from commit 38c3b5e8f1cd6898b8dfe54f1849c8e424b5dd49)
Co-authored-by: NitrogenPointBlue <110332643+NitrogenPointBlue@users.noreply.github.com>
|
|
|
| |
Co-authored-by: Adrian Brown <ap.brown011@gmail.com>
|
|
|
|
|
|
|
| |
(#78667) (#78672)
(cherry picked from commit f8e24e4)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
avoid decode errors (#78317) (#78660)
* wait_for - Read file and perform comparisons using bytes to avoid decode errors. Fixes #78214
* Write non-ascii via script instead of static file
* Use contexlib.closing to support py27 context manager
* Use executable from task, instead of shebang
* Update encoded bytes to utf16
(cherry picked from commit 9d4ced1)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sometimes pytest errors out with an `ImportError` during its tests
collection stage when a Python package/directory containing the test
module does not have an `__init__.py` in it. This is being observed
under Python 3.9 and higher.
The patch provides a workaround for this problem but does not address
the root cause which is currently unknown.
Ref:
https://github.com/ansible/ansible/pull/78585#issuecomment-1220885431
(cherry picked from commit beb70daf14bc14acad076b34dca39a3ca6b633bb)
|
|
|
|
|
|
|
| |
(#78578) (#78583)
(cherry picked from commit 4c8b8a0)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
| |
* Fix --role-file arg detection. Fixes #78204
* Do not traceback, give better error
* Add coverage for compound shortopts to match -r. Fixes #78491
(cherry picked from commit 86298b7)
Co-authored-by: Matt Martz <matt@sivel.net>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This specific integration test gets stuck periodically causing the
Galaxy jobs to be killed on timeout wasting an hour of runtime. The
module that gets stuck waiting on Pulp is an in-test one, called
`setup_collections`. When it works, the task is complete in around 70
seconds but when it doesn't, it just freezes the whole play.
This patch attempts to make it fail faster by putting a reasonable
timeout value of 2 minutes.
(cherry picked from commit f1c56e988dbbb769b34a3c80baa40c916b4d0c88)
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#74446) (#78590)
Replace get_persistent_connection_options with get_options
Remove special case for network sub_plugin in _set_plugin_options
Try to avoid mock connection pretending to be persistent
Rename variables->options to reflect what they actually are
Gather options for ssh_type_conn on network_cli
Drop reliance on sub_plugin["type"]
(cherry picked from commit bf1ef5a1f3562c9a59168adbc78750304c3e4309)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Don't actually update the cache in check mode
Add tests for updating the cache in check mode
* Don't mark packages as manually installed in check mode and add a test for it
* changelog
* Update test/integration/targets/apt/tasks/apt.yml
* fix test
(cherry picked from commit 3add5e932178799f8409f3255f148260efa7b4ac)
|
|
|
|
|
|
|
|
|
| |
(#78462)
Fixes #77969
(cherry picked from commit 04e892757941bf77198692bbe37041d7a8cbf999)
Co-authored-by: Patrick Hemmer <phemmer@users.noreply.github.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix adhoc dev example (#78593)
(cherry picked from commit 5ac40b358d7d64e4169813e400c19f869b17183c)
* Docs: fix issue-76133-apt-repository (#78586)
(cherry picked from commit 3b9f1871e512ffc4106348cadb2ea369eb8b4fd0)
* Fixes parameter name in expect module examples (#78635)
(cherry picked from commit 81813b7f23f6c33d9bec52f04d0d061bd5f1755e)
* doc: Correct mixed up commentary and task name (#78610)
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
(cherry picked from commit 87ba1e29d3ca1aec2d05782e0fe9a33c82701e62)
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
Co-authored-by: Arnold Kamanzi <kamstan6@gmail.com>
Co-authored-by: gmdmi <gmdmi@ya.ru>
Co-authored-by: rawtaz <rawtaz@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
(cherry picked from commit df497ea13bc77fb1862c94682949c133870b8238)
Co-authored-by: Christian Adams <chadams@redhat.com>
|
|
|
|
|
|
|
| |
On BusyBox systems such as Alpine, chattr on a tmpfs fails with a status of 0 and output only on stderr.
This change updates the test to not assume output on stdout.
(cherry picked from commit 2e536c0afb9008884a0f12e8e650541e0ead76c9)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Supply some descriptions for settings used in ansible.cfg (#78536)
(cherry picked from commit 4604ea38ddf8e90b0f0e37c07c3a9da5efef18bc)
* Targeting a small typo correction (#78531)
(cherry picked from commit b6f42547f415f162e180ff94be94ea82a30b35a2)
* clarify collection signature not available from Community Galaxy (#78386)
(cherry picked from commit 7ae1eabaa41080fc97e0155919471f57dba23825)
* update FAQ with not about libyaml (#78483)
(cherry picked from commit 33ee5d4c1b8ea5357e29749a71f55d8f03642b9e)
* add note to use package_facts module (#78484)
(cherry picked from commit 8dc097989b88f4f4bf40434016faabbeb5e25d5f)
* Fix ansible-docs: shipping ansible in wheel format #78485 (#78524)
(cherry picked from commit 7f69629fa787fb5242534111cec2fb4772e3f1b9)
* update link for RH customers in docs banner (#78563)
(cherry picked from commit 2fdaee143a88e1c63c7dc56f06a114bf31380683)
Co-authored-by: Andrew Latham <lathama@users.noreply.github.com>
Co-authored-by: Ian Wienand <iwienand@redhat.com>
Co-authored-by: Arnold Kamanzi <kamstan6@gmail.com>
|
|
|
|
|
|
|
| |
* Fix version switcher for Japanese docs (#78432)
(cherry picked from commit 660aceaa777b8847648908e8c978a0518f44cef4)
* update version to match branch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* update the documentation for the _collection init_ command (#78404)
(cherry picked from commit 69c7e3f4a3e244b28eef919ff2c1356ea6d06b1c)
* fix configuration name in porting guide 2.12 (#78472)
(cherry picked from commit 82246df5b7fb10aa464d65e3f948514c85c05757)
* docs: misc fixes in The Ansible Development Cycle (#78513)
(cherry picked from commit 0d3523df8ff6b60d98804af4f1898a341776c756)
Co-authored-by: Alex <aizquier@redhat.com>
Co-authored-by: Akira Yokochi <akira6592@gmail.com>
|
|
|
|
|
| |
This also bumps the minimum controller version (for mypy only) to Python 3.9.
(cherry picked from commit cc5ac88c4c97a7f538f135cb659c73c4bbdd02ef)
|
|
|
|
|
| |
(#78519)
(cherry picked from commit 2b63fdd1b8dd8383a9b09b601d80623cd76ce579)
|
|
|
|
| |
(cherry picked from commit 99016653a29cc2c1c5aa05324ed92dabf5e9f1fc)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fix broken link (#78434)
(cherry picked from commit eb46ab1399ae30c217d2ba3032cc505d12fef354)
* Fix escaped asterisk in code block demonstrating wildcards (#78375)
The code block is rendered verbatim. This currently results in `\*` being shown, which is incorrect (i.e., not parsed as a wildcard pattern).
Removing the superfluous `\` fixes the rendering.
This PR fixes all instances of this issue on that page.
(cherry picked from commit 9bf5da8f75398584ebb54306454e9cc385ccc4f4)
* add example to import a playbook from collection (#78443)
(cherry picked from commit eb462edb1690cd18dbd5dad48688c0525506ab9f)
* docs: Fix control node reference links (#78424)
(cherry picked from commit f5cac6bc5d6dcf8a6acc1b32e8b77452b7be646f)
* Update galaxy_server_list (#78398)
(cherry picked from commit d92f6da592283482e373c519d12afabe954b31f4)
* Improve grammar (#78391)
(cherry picked from commit ddd8b8bfd9e392d2c1ad643bbe2884f931ff6a79)
Co-authored-by: Tom Janson <priv.tom.janson@gmail.com>
Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com>
Co-authored-by: Ian Wienand <iwienand@redhat.com>
Co-authored-by: Tabah Baridule <dulemartins07@gmail.com>
Co-authored-by: Geoffrey van Wyk <geoffrey@vanwyk.biz>
|
|
|
| |
(cherry picked from commit 7e634f54c3b98372152a722ddf85919cf3f5fe86)
|
|
|
|
|
|
|
|
|
|
|
| |
antsibull-docs (#78446)
* Add basic docs on how to create a collection docsite with antsibull-docs. (#78387)
(cherry picked from commit 733a7679485c84d8ee6c4ebf95c76d172e0369de)
* Fix typo: missing 'install'. (#78448)
(cherry picked from commit 2218b63aefc558ff967a8597a1dc9c4c5f88e27c)
|
|
|
| |
(cherry picked from commit 51f94570a674849eb6a7970ce6b47c80527a1d56)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#76596) (#78411)
* Rethread pr/70185 through the dependency resolver
Hang optional metadata toggle on the ConcreteArtifactsManager instead of threading it through whole list codepath
Don't error while listing collections if a collection's metadata is missing keys required for building a collection.
Give an informative warning if metadata has been badly formatted.
Co-authored-by: Sam Doran <sdoran@redhat.com>
(cherry picked from commit 05608b20e8f875d51866a184f8c579fe60498e05)
|
|
|
|
|
|
|
|
|
| |
--force` (#78403) (#78412)
* Remove collection contents when re-initializing with --force
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
(cherry picked from commit a2174fc6d9d8b8a7a514d0588bf9b52eaf5fc153)
|
|
|
|
|
|
|
|
|
| |
metadata (#77014) (#78410)
* Fall back to implicit namespace.name from the path if the metadata is invalid
* Test listing a collection with null namespace/name/version fields in its galaxy.yml
(cherry picked from commit f8ec660e62c6797d6f2fce2a173d96684d8a9b42)
|
|
|
| |
(cherry picked from commit 9b79d6ba3582bb0ef339738b7e1ade879d00dfe3)
|