mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-23 00:30:22 -07:00
Deprecate the github_hooks module (#49296)
It was super incomplete, and the interface was pretty strange; it had built-in features to handle pretty bespoke workflows ("clean504", e.g.) but was lacking lots of other useful features (like the ability to create a webhook with a shared secret). Rather than try to update the interface in a backwards compatible way, I've replaced it with the more predictable, single-purpose github_webhook and github_webhook_facts modules.
This commit is contained in:
parent
69d230f4bf
commit
63b7882cbb
2 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,7 @@ __metaclass__ = type
|
|||
|
||||
|
||||
ANSIBLE_METADATA = {'metadata_version': '1.1',
|
||||
'status': ['preview'],
|
||||
'status': ['deprecated'],
|
||||
'supported_by': 'community'}
|
||||
|
||||
|
||||
|
@ -17,6 +17,10 @@ DOCUMENTATION = '''
|
|||
---
|
||||
module: github_hooks
|
||||
short_description: Manages GitHub service hooks.
|
||||
deprecated:
|
||||
removed_in: "2.12"
|
||||
why: Replaced by more granular modules
|
||||
alternative: Use M(github_webhook) and M(github_webhook_facts) instead.
|
||||
description:
|
||||
- Adds service hooks and removes service hooks that have an error status.
|
||||
version_added: "1.4"
|
Loading…
Add table
Add a link
Reference in a new issue