mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-05 01:43:05 +00:00
zypper_repository: allow state=absent when .repo URL/file is unreachable (#11947)
* fix(zypper_repository): allow state=absent when .repo URL/file is unreachable When removing a repository by .repo URL, a download failure used to cause an unconditional fail_json. Now, for state=absent, the module warns and falls back to deriving the alias from the .repo filename basename. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * feat(changelog): add fragment for PR 11947 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
edcc906cc6
commit
2becfe45b5
2 changed files with 51 additions and 33 deletions
|
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- zypper_repository - allow unreachable ``.repo`` URLs and missing local paths when using ``state=absent`` (https://github.com/ansible-collections/community.general/issues/5769, https://github.com/ansible-collections/community.general/pull/11947).
|
||||
Loading…
Add table
Add a link
Reference in a new issue