Skip to content

Commit

Permalink
Merge pull request #34 from Jimdo/fix_ansible_module_import
Browse files Browse the repository at this point in the history
Use wildcard import of ansible.module_utils.basic
  • Loading branch information
fstehle committed Sep 8, 2017
2 parents 82eb08a + 6cd4074 commit 438ab77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/fastly_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
import json
import os

from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.basic import * # noqa: F403


class FastlyResponse(object):
Expand Down Expand Up @@ -847,7 +847,7 @@ def delete_service(self, service_name):

class FastlyServiceModule(object):
def __init__(self):
self.module = AnsibleModule(
self.module = AnsibleModule( # noqa: F405
argument_spec=dict(
state=dict(default='present', choices=['present', 'absent'], type='str'),
fastly_api_key=dict(no_log=True, type='str'),
Expand Down

0 comments on commit 438ab77

Please sign in to comment.