mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
PEP8 fixes for smartos module
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
374872cac4
commit
dd9db65a9a
4 changed files with 9 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue