Commit Graph

53625 Commits (cc0eaad41039714cf1fcdf49c51ac21dacdbc28a)
 

Author SHA1 Message Date
Don Naro cc0eaad410
Docs: Update changelog for Ansible 8 (#80886) (#80945) 2 years ago
Sandra McCann 8e0f02da82
add mission survey to docs banner (#80931) (#80942)
Co-authored-by: Don Naro <dnaro@redhat.com>
(cherry picked from commit 79677c16f1)
2 years ago
Sandra McCann 8b4bfcff3b
set latest version to Ansible 8 (#80930) 2 years ago
Sandra McCann d3fda5a6fb
set latest version to 8 (#80892) (#80929)
(cherry picked from commit 9fb03093b3)
2 years ago
Sandra McCann 3bc453469a
Add Ansible community 8.0.0 porting guide (#80927) (#80928)
(cherry picked from commit 124f33b230)

Co-authored-by: Christian Adams <chadams@redhat.com>
2 years ago
Matt Clay 88042f98d6
[stable-2.15] ansible-test - local change detection without --fork-point (#79734) (#80899)
(cherry picked from commit a5bb4c7dee)

Co-authored-by: Felix Fontein <felix@fontein.de>
2 years ago
Matt Martz 94b97c9c0b
[stable-2.15] Update dnf5 module to handle API change for setting the download directory. Fixes #80887 (#80888) (#80889)
(cherry picked from commit 09387ea)
2 years ago
Matt Clay 6b1ba183eb
[stable-2.15] ansible-test - Fix traceback when mixing sources (#80801) (#80827)
* ansible-test - Fix traceback when mixing sources

* ansible-test - Refactor layout error handling

(cherry picked from commit b16041f1a9)
2 years ago
Matt Clay 96127a15f3
[stable-2.15] Use subset checks for some collection loader tests (#80812) (#80814)
(cherry picked from commit 2ba24957dd)
2 years ago
Don Naro 3b8d2cbd01
set version to 2.15 (#80793) 2 years ago
Don Naro 960f5ddee0
update version switcher for 2.15 (#80790)
Co-authored-by: Sandra McCann <samccann@redhat.com>
2 years ago
Matt Clay 6bce05fd4d
[stable-2.15] ansible-test - Fix handling of long timeouts (#80769) (#80772)
(cherry picked from commit aacab0633a)
2 years ago
Matt Clay 398841ba0d
[stable-2.15] ansible-test - Fix timeout handling (#80764) (#80765)
(cherry picked from commit 4c6aa70662)
2 years ago
Matt Clay 86efb07b59
[stable-2.15] ansible-test - Avoid use of deprecated utcnow (#80750) (#80757)
The timestamps are only used by ansible-test, not the junit callback, so this change only impacts ansible-test.

(cherry picked from commit fd341265d0)
2 years ago
Matt Clay 0b1b2c238a
[stable-2.15] pep517 backend - Copy symlinks when copying source (#80690) (#80700)
(cherry picked from commit 54576cd794)
2 years ago
Matt Martz d58b2c9a4c
Update Ansible release version to v2.15.0.post0. (#80804) 2 years ago
Matt Martz 748096552f
New release v2.15.0 (#80799) 2 years ago
Matt Clay 4d4a11490e
Update Ansible release version to v2.15.0rc2.post0. (#80687) 2 years ago
Matt Clay 5b1efaac29
New release v2.15.0rc2 (#80686) 2 years ago
Matt Clay e88a1a426f
ansible-test - Update default containers (#80685) 2 years ago
Matt Clay 6f4d3a7944
Backport setuptools fixes (#80684)
* Use package_data instead of include_package_data (#80652)

This resolves warnings generated by setuptools such as the following:

_Warning: Package 'ansible.galaxy.data' is absent from the `packages` configuration.

(cherry picked from commit 5ac292e12d)

* Set the minimum setuptools to 45.2.0 (#80649)

Also update the package-data sanity test to use the minimum setuptools version.

(cherry picked from commit 4d25e3d54f)
2 years ago
Matt Clay c1e8177808
[stable-2.15] Release tool improvements (#80641) (#80679)
* Provide reproducible sdist builds.
* Use reproducible wheel builds.
* Add PyPI artifact checks.

(cherry picked from commit d37678c5ff)
2 years ago
Sloane Hertel 6dd566b9bb
[ansible-galaxy] Fix installing signed collections (#80661) (#80665)
* Fix installing signed collections by using the fqcn, version, source, and type as a unique identifier.

Define __hash__ and __eq__ methods to handle Candidate/Requirement comparison excluding signatures which aren't fully populated until install time.

* Remove PinnedCandidateRequests since it is redundant now.

* Fix verifying against a signed remote when the keyring isn't configured

(cherry picked from commit d5e2e7a0a8)
2 years ago
Matt Martz ca323b9f92
Update Ansible release version to v2.15.0rc1.post0. (#80640) 2 years ago
Matt Martz 96c1a9346c
New release v2.15.0rc1 (#80639) 2 years ago
Matt Clay 67c6f75c9d
ansible-test - Update the default containers (#80636) 2 years ago
Matt Clay 3e846be696
[stable-2.15] ansible-test - Update pylint to 2.17.3 (#80632) (#80634)
(cherry picked from commit 372fc99686)
2 years ago
Martin Krizek 78eecfb9dc
dnf5: use new API to check package signatures (#80609) (#80622)
(cherry picked from commit 36df60e226)
2 years ago
Matt Clay 53fd504935
[stable-2.15] ansible-test - Use FreeBSD packaged setuptools (#80615) (#80616)
This will avoid issues during bootstrapping caused by breaking changes in setuptools.

(cherry picked from commit abc58c026b)
2 years ago
Martin Krizek c6fc345fb0
Fix calling v2_playbook_on_notify callback (#80585) (#80612)
Co-authored-by: Matt Martz <matt@sivel.net>
(cherry picked from commit 989a7d6951)
2 years ago
Martin Krizek 79751ed970
Use target of /usr/bin/dnf for dnf version detection (#80550) (#80593)
Fixes #80376

(cherry picked from commit 748f534312)
2 years ago
Sandra McCann b264386f3f
Backportapalooza 04 21 (#80600)
* Fix typo in playbooks_keywords.rst.j2 (#80461)

(cherry picked from commit 2ed4396558)

* Correct bypass_host_loop attribute for group_by (#80380)

This action originally bypassed the host loop, but it does not
currently.

(cherry picked from commit fc5c0aadc9)

* Add Ansible community 8.0.0a1 porting guide (#80498)

(cherry picked from commit 362c949622)

* Adds Ansible 8 Porting Guide to Index Page (#80511)

(cherry picked from commit d081ed3616)

* documents approaches to octal modes better (#80112)

(cherry picked from commit 032881e4f1)

* Update password.py documentation (#80297)

* Update password.py documentation with new semantic markup

(cherry picked from commit bf4e0166a5)

* Add OpenSUSE to the distro's installation guide (#80308)

* Add OpenSUSE to the distro's installation guide

Similar to the rest of the distros, OpenSUSE distributes ansible and it was
missing.

Signed-off-by: ybonatakis <ybonatakis@suse.com>
(cherry picked from commit af6d75e313)

* Document how to run all tasks, even the ones with the never tag (#80315)

Co-authored-by: Martin Krizek <martin.krizek@gmail.com>
(cherry picked from commit ec403db1c7)

* 📝 Document macOS user deletion over SSH (#80358)

Co-authored-by: Matt Clay <matt@mystile.com>
Co-authored-by: Don Naro <dnaro@redhat.com>
(cherry picked from commit 88a380c8f0)

* Update playbooks_templating.rst (#80375)

(cherry picked from commit a6e0012b8a)

* Documentation changes for #80367 and #80270 (#80391)

(cherry picked from commit 0460f78081)

* [Docs] communication.rst: Add a hint about adding Matrix shields to READMEs (#80392)

(cherry picked from commit db8f1756bc)

* installation_distros: update Fedora section (#80453)

(cherry picked from commit 4e9d21ec32)

* Fix PolicyRcD.__exit__ docstring (#80528)

(cherry picked from commit 64fb64643d)

* Update validate_argument_spec.py (#80547)

##### SUMMARY
Fix example with file lookup, filter 'from_yaml' is required.

##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr

(cherry picked from commit 8d685b89f2)

* redirect old vmware guide (#80553)

(cherry picked from commit c1d8130df5)

* Update tools and programs page as per community feedback (#80493)

(cherry picked from commit 44794e3ebc)

* uri  module, fix example (#80554)

(cherry picked from commit 449c628f3d)

* apt key and repository example security patch (#80381)

(cherry picked from commit ed9cd39d0f)

* note in systemd that systemctl can change behaviour due to diff order… (#80570)

(cherry picked from commit 9ca863501c)

* Vars Plugin Documentation Improvement (#80470)

(cherry picked from commit 791510ccba)

* Add note guidelines for additional distributions (#80389)

(cherry picked from commit 68e270d4cc)

---------

Co-authored-by: Christinanik251 <93385939+Christinanik251@users.noreply.github.com>
Co-authored-by: flowerysong <paul.arthur@flowerysong.com>
Co-authored-by: Anwesha Das <anwesha@das.community>
Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
Co-authored-by: aaronk1 <aaronk1@users.noreply.github.com>
Co-authored-by: Yiannis <jbonatakis@gmail.com>
Co-authored-by: Daniel-at-github <Daniel-at-github@users.noreply.github.com>
Co-authored-by: Sviatoslav Sydorenko <webknjaz@redhat.com>
Co-authored-by: dzvision <5590839+dzvision@users.noreply.github.com>
Co-authored-by: WeiXinFam-Insta <86450936+WeiXinFam-Insta@users.noreply.github.com>
Co-authored-by: Andrew Klychkov <aklychko@redhat.com>
Co-authored-by: Maxwell G <maxwell@gtmx.me>
Co-authored-by: Rodrigo Candido Gryzinski <contact@rogryza.me>
Co-authored-by: 7840vz <122374011+7840vz@users.noreply.github.com>
Co-authored-by: JaroslavKlech <klechh@gmail.com>
Co-authored-by: Brian Coca <bcoca@users.noreply.github.com>
Co-authored-by: hexagon6 <hexagon6@fet.li>
Co-authored-by: Tim Way <1091435+timway@users.noreply.github.com>
Co-authored-by: Sarah Lau-Kilo <slaukilo@gmail.com>
2 years ago
Sandra McCann 2f57c2d9bc
fix become yes/no to true/false (#80515) (#80601)
(cherry picked from commit f05abd4540)

Co-authored-by: Akira Yokochi <akira6592@gmail.com>
2 years ago
Matt Clay ddf298097c
[stable-2.15] tests: replace a mock import with unittest.mock (#80589) (#80603)
(cherry picked from commit f4615d69ad)

Co-authored-by: Maxwell G <maxwell@gtmx.me>
2 years ago
Matt Clay 82b47c8d5c
ansible-test - Update the default containers (#80560) 2 years ago
Matt Clay c49dd110ee
[stable-2.15] ansible-test - Update pylint to 2.17.2 (#80555) (#80557)
(cherry picked from commit ba47dd9ef4)
2 years ago
Sloane Hertel 4de262300b
ansible-galaxy - fix installing dir sources with a trailing path separator (#79110) (#80540)
* strip trailing path separator from type=dir sources

(cherry picked from commit 964e678a7f)
2 years ago
Sloane Hertel 2c35d46298
argspec - fix validating type for required options that are None (#79677) (#80542)
* Only bypass type validation for null parameters if the default is None. A default is mutually exclusive with required.

* Prevent coercing None to str type. Fail the type check instead.

(cherry picked from commit 694c11d5bd)
2 years ago
Matt Martz f90c7f1a7d
[stable-2.15] Implement checks, and backwards compat change, to move forward with UTF-8 only (#80370) (#80545)
(cherry picked from commit 0ee7cfb)
2 years ago
Matt Martz 12083db2c5
Update Ansible release version to v2.15.0b3.post0. (#80541) 2 years ago
Matt Martz 1c16d871d6
New release v2.15.0b3 (#80537) 2 years ago
Sloane Hertel 86bcfec830
Validate task attributes with first finalized attrs after loop (#80476) (#80517)
* Validate task attributes `run_once` and `action` with finalized attrs after individual loop results

* Validate task attribute `ignore_unreachable` using individual loop results

Once there's a way to post validate only certain fields, we can use self._task.post_validate() instead

This replaces the fix introduced in https://github.com/ansible/ansible/pull/80051.

(cherry picked from commit bd6feeb6e7)
2 years ago
Matt Martz f7d2c41fa2
[stable-2.15] --syntax-check is only applicable to ansible-playbook. Fixes #80506 (#80507) (#80509)
(cherry picked from commit f3774ae)
2 years ago
Matt Clay 7ce3270f72
[stable-2.15] pep517 backend - Use correct import_module import (#80480) (#80501)
(cherry picked from commit e87802cf2c)
2 years ago
Martin Krizek c0b452c73c
Last handler defined runs, fix for roles (#79558) (#80495)
Fixes #73643
* clear_notification method and simplify ifs
* Deduplicate code
* Limit number of Templar creations
* Fix sanity
* Preserve handler callbacks order as they were notified

(cherry picked from commit 09dd80b4ec)
2 years ago
Felix Fontein 39efd7a151
Fix pull request URL in changelog. (#80465) 2 years ago
Matt Clay 352127ec2b
[stable-2.15] ansible-test - Add support for argcomplete 3 (#80482) (#80484)
(cherry picked from commit 0371ea08d6)
2 years ago
Matt Martz 3e4b59dcef
Update Ansible release version to v2.15.0b2.post0. (#80469) 2 years ago
Matt Martz f27a4a4f5c
New release v2.15.0b2 (#80467) 2 years ago
Matt Clay 3a378ba61b
ansible-test - Update default containers (#80466) 2 years ago