mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 21:30:22 -07: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:
parent
a894791767
commit
36027ddbba
2 changed files with 21 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue