mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
github_release: Fix state returned from module (#33735)
This fix corrects the module state returned by github_module. Now, * When the release already exists, state is "ok" * When the release is created, state is "changed" Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
@@ -64,7 +64,12 @@ Modules
|
||||
|
||||
Major changes in popular modules are detailed here
|
||||
|
||||
No notable changes.
|
||||
github_release
|
||||
--------------
|
||||
|
||||
In Ansible versions 2.4 and older, after creating a GitHub release using the ``create_release`` state, the ``github_release`` module reported state as ``skipped``.
|
||||
In Ansible version 2.5 and later, after creating a GitHub release using the ``create_release`` state, the ``github_release`` module now reports state as ``changed``.
|
||||
|
||||
|
||||
Modules removed
|
||||
---------------
|
||||
|
||||
Reference in New Issue
Block a user