mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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:
committed by
Michael DeHaan
parent
a894791767
commit
36027ddbba
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user