autonomic.gandi/library/gandi_dns.py

27 lines
481 B
Python
Raw Normal View History

2020-03-28 00:01:56 +00:00
#!/usr/bin/python3
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()