From 5d9090fbd7603ca6a99053b443225d7d780df581 Mon Sep 17 00:00:00 2001 From: Diogo Baeder de Paula Pinto Date: Wed, 11 Oct 2017 04:42:41 -0300 Subject: [PATCH] Adding metadata from existing app to the JSON results, so that, for example, the app port can be referenced later --- lib/ansible/modules/cloud/webfaction/webfaction_app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/modules/cloud/webfaction/webfaction_app.py b/lib/ansible/modules/cloud/webfaction/webfaction_app.py index 8d7512ef82..f32d34b1ed 100644 --- a/lib/ansible/modules/cloud/webfaction/webfaction_app.py +++ b/lib/ansible/modules/cloud/webfaction/webfaction_app.py @@ -154,6 +154,7 @@ def main(): # Should check other parameters. module.exit_json( changed=False, + result=existing_app, ) if not module.check_mode: