Squashed commit of the following:

Changed ami_tags to instance_tags to better follow naming convention
    Add support for creating tags on the new instances
This commit is contained in:
Steve Frank 2013-02-09 11:42:14 -05:00 committed by Michael DeHaan
commit 36027ddbba
2 changed files with 21 additions and 3 deletions

View file

@ -623,6 +623,9 @@ class AnsibleModule(object):
def jsonify(self, data):
return json.dumps(data)
def from_json(self, data):
return json.loads(data)
def exit_json(self, **kwargs):
''' return from the module, without error '''
self.add_path_info(kwargs)