From b3e061ee7afa834e980efcb8a7ff9e87b5c7fb7f Mon Sep 17 00:00:00 2001 From: Willy Barro Date: Wed, 13 May 2015 19:13:38 -0300 Subject: [PATCH] Remove changed=True from pushbullet module By convention, notification modules should not return changed=True --- lib/ansible/modules/extras/notification/pushbullet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/notification/pushbullet.py b/lib/ansible/modules/extras/notification/pushbullet.py index d89c79ec941..ffc2b32232b 100644 --- a/lib/ansible/modules/extras/notification/pushbullet.py +++ b/lib/ansible/modules/extras/notification/pushbullet.py @@ -24,7 +24,7 @@ module: pushbullet short_description: Sends notifications to Pushbullet description: - This module sends push notifications via Pushbullet to channels or devices. -version_added: "1.8" +version_added: "2.0" options: api_key: description: @@ -164,7 +164,7 @@ def main(): success, result = target.push_note(title, body) if success: - module.exit_json(changed=True, msg="OK") + module.exit_json(changed=False, msg="OK") # General failure module.fail_json(msg="Some error ocurred, Pushbullet response: %s" % (result))