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