Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Return status in check mode #192

Merged
merged 4 commits into from
Sep 29, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions plugins/modules/helm.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,16 @@ def main():
changed = True

if module.check_mode:
check_status = {'values': {
"current": release_status['values'],
"proposed": release_values
geerlingguy marked this conversation as resolved.
Show resolved Hide resolved
fabianvf marked this conversation as resolved.
Show resolved Hide resolved
}
fabianvf marked this conversation as resolved.
Show resolved Hide resolved
}
fabianvf marked this conversation as resolved.
Show resolved Hide resolved

module.exit_json(
changed=changed,
command=helm_cmd,
status=check_status,
stdout='',
stderr='',
)
Expand Down