Move ansible imports to the module's bottom.
This commit is contained in:
parent
4c4c0bb119
commit
015ffbf9a9
1 changed files with 3 additions and 3 deletions
|
@ -93,9 +93,6 @@ EXAMPLES = '''
|
|||
wait: true
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import *
|
||||
from ansible.module_utils.rax import *
|
||||
|
||||
try:
|
||||
import pyrax
|
||||
HAS_PYRAX = True
|
||||
|
@ -281,4 +278,7 @@ def main():
|
|||
https_redirect, wait, wait_timeout
|
||||
)
|
||||
|
||||
from ansible.module_utils.basic import *
|
||||
from ansible.module_utils.rax import *
|
||||
|
||||
main()
|
||||
|
|
Loading…
Reference in a new issue