mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
gcdns_record: fix broken import (#34024)
This commit is contained in:
parent
1df57ac1ac
commit
107934241e
2 changed files with 3 additions and 4 deletions
|
@ -319,8 +319,11 @@ try:
|
||||||
from libcloud.dns.types import RecordDoesNotExistError
|
from libcloud.dns.types import RecordDoesNotExistError
|
||||||
from libcloud.dns.types import ZoneDoesNotExistError
|
from libcloud.dns.types import ZoneDoesNotExistError
|
||||||
HAS_LIBCLOUD = True
|
HAS_LIBCLOUD = True
|
||||||
|
# The libcloud Google Cloud DNS provider.
|
||||||
|
PROVIDER = Provider.GOOGLE
|
||||||
except ImportError:
|
except ImportError:
|
||||||
HAS_LIBCLOUD = False
|
HAS_LIBCLOUD = False
|
||||||
|
PROVIDER = None
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
from ansible.module_utils.gcdns import gcdns_connect
|
from ansible.module_utils.gcdns import gcdns_connect
|
||||||
|
@ -335,9 +338,6 @@ from ansible.module_utils.gcdns import gcdns_connect
|
||||||
# deprecated and decommissioned.
|
# deprecated and decommissioned.
|
||||||
MINIMUM_LIBCLOUD_VERSION = '0.19.0'
|
MINIMUM_LIBCLOUD_VERSION = '0.19.0'
|
||||||
|
|
||||||
# The libcloud Google Cloud DNS provider.
|
|
||||||
PROVIDER = Provider.GOOGLE
|
|
||||||
|
|
||||||
# The records that libcloud's Google Cloud DNS provider supports.
|
# The records that libcloud's Google Cloud DNS provider supports.
|
||||||
#
|
#
|
||||||
# Libcloud has a RECORD_TYPE_MAP dictionary in the provider that also contains
|
# Libcloud has a RECORD_TYPE_MAP dictionary in the provider that also contains
|
||||||
|
|
|
@ -4,7 +4,6 @@ lib/ansible/modules/cloud/azure/azure.py
|
||||||
lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py
|
lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py
|
||||||
lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py
|
lib/ansible/modules/cloud/centurylink/clc_firewall_policy.py
|
||||||
lib/ansible/modules/cloud/dimensiondata/dimensiondata_network.py
|
lib/ansible/modules/cloud/dimensiondata/dimensiondata_network.py
|
||||||
lib/ansible/modules/cloud/google/gcdns_record.py
|
|
||||||
lib/ansible/modules/cloud/google/gcdns_zone.py
|
lib/ansible/modules/cloud/google/gcdns_zone.py
|
||||||
lib/ansible/modules/cloud/webfaction/webfaction_app.py
|
lib/ansible/modules/cloud/webfaction/webfaction_app.py
|
||||||
lib/ansible/modules/cloud/webfaction/webfaction_db.py
|
lib/ansible/modules/cloud/webfaction/webfaction_db.py
|
||||||
|
|
Loading…
Reference in a new issue