azure_rm_common: use __version__ from module_util (#46184)

This commit is contained in:
Jordan Borean 2018-10-05 21:02:44 +10:00 committed by ansibot
parent 66b1c838c7
commit 02c11e6b51

View file

@ -14,12 +14,9 @@ import json
from os.path import expanduser
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.ansible_release import __version__ as ANSIBLE_VERSION
from ansible.module_utils.six.moves import configparser
import ansible.module_utils.six.moves.urllib.parse as urlparse
try:
from ansible.release import __version__ as ANSIBLE_VERSION
except ImportError:
ANSIBLE_VERSION = 'unknown'
AZURE_COMMON_ARGS = dict(
auth_source=dict(