2020-03-28 00:01:56 +00:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
2020-03-28 15:49:11 +00:00
|
|
|
from ansible.module_utils.basic import AnsibleModule
|
|
|
|
|
2020-03-28 00:01:56 +00:00
|
|
|
DOCUMENTATION = """
|
|
|
|
---
|
|
|
|
module: gandi_dns
|
|
|
|
short_description: Manage Gandi DNS entries
|
|
|
|
"""
|
|
|
|
|
|
|
|
EXAMPLES = """
|
|
|
|
- name: Create a new Gandi DNS entry
|
|
|
|
gandi_dns:
|
|
|
|
apirest_key: "{{ apirest_key }}"
|
|
|
|
domain: foobar.autonomic.zone
|
|
|
|
ipv4: 192.168.1.2
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
module = AnsibleModule(argument_spec={})
|
|
|
|
module.exit_json(changed=False, meta={"TO": "DO"})
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
main()
|