mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
PEP8 fixes for smartos module
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
committed by
Toshio Kuratomi
parent
374872cac4
commit
dd9db65a9a
@@ -53,7 +53,6 @@ RETURN = '''
|
||||
'''
|
||||
|
||||
import json
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
|
||||
|
||||
@@ -101,11 +100,9 @@ def main():
|
||||
|
||||
image_facts = ImageFacts(module)
|
||||
|
||||
data = {}
|
||||
data['smartos_images'] = image_facts.return_all_installed_images()
|
||||
data = dict(smartos_images=image_facts.return_all_installed_images())
|
||||
|
||||
module.exit_json(ansible_facts=data)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user