Browse Source

fix sanity

main
Markus Bergholz 8 months ago
parent
commit
489c9105ec
No known key found for this signature in database
GPG Key ID: B45724801354B174
  1. 4
      plugins/inventory/inventory.py
  2. 3
      plugins/module_utils/helper.py
  3. 6
      plugins/modules/record.py
  4. 6
      plugins/modules/record_info.py
  5. 4
      plugins/modules/zone_info.py

4
plugins/inventory/inventory.py

@ -4,6 +4,8 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Part of ansible markuman.hetzner_dns collection
from __future__ import absolute_import, division, print_function
__metaclass__ = type
from ansible_collections.markuman.hetzner_dns.plugins.module_utils.helper import HetznerAPIHandler
from ansible_collections.markuman.hetzner_dns.plugins.module_utils.helper import ZoneInfo
@ -13,7 +15,7 @@ import os
DOCUMENTATION = '''
name: hetzner_dns
plugin_type: inventory
description: Use hetzner dns zone as ansible inventory.
options:
zone_name:
description: dns zone name.

3
plugins/module_utils/helper.py

@ -4,6 +4,9 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Part of ansible markuman.hetzner_dns collection
from __future__ import absolute_import, division, print_function
__metaclass__ = type
import os
import requests
import json

6
plugins/modules/record.py

@ -4,8 +4,12 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Part of ansible markuman.hetzner_dns collection
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
module: markuman.hetzner_dns.zone_info
module: markuman.hetzner_dns.record
description: Create, update and delete dns records
'''
EXAMPLES = '''

6
plugins/modules/record_info.py

@ -4,8 +4,12 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Part of ansible markuman.hetzner_dns collection
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
module: markuman.hetzner_dns.zone_info
module: markuman.hetzner_dns.record_info
description: Get information about dns records.
'''
EXAMPLES = '''

4
plugins/modules/zone_info.py

@ -4,8 +4,12 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
# Part of ansible markuman.hetzner_dns collection
from __future__ import absolute_import, division, print_function
__metaclass__ = type
DOCUMENTATION = '''
module: markuman.hetzner_dns.zone_info
description: Get information about a hetzner dns zone.
'''
EXAMPLES = '''

Loading…
Cancel
Save