* uri: fixed search for json types to include strings in the format xxx/yyy+json
(cherry picked from commit 0c7361d9ac)
Co-authored-by: Brent Barbachem <barbacbd@dukes.jmu.edu>
Instead of using Templar.environment in Templar.do_template for
accessing/mutating the environment, myenv local variable should be used
because it is the environment used for actual templating. It can either
point to Templar.environment or newly created environment overlay.
Fixes#80605
(cherry picked from commit 8cd95a8e66)
* 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)
* 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)
* 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>
* 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)
* 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)
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)