|
|
@ -294,12 +294,14 @@ def main():
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
module.fail_json(msg="'%s' is an unknown value for the state argument" % state)
|
|
|
|
module.fail_json(msg="'%s' is an unknown value for the state argument" % state)
|
|
|
|
|
|
|
|
|
|
|
|
except DNSimpleException, e:
|
|
|
|
except DNSimpleException:
|
|
|
|
|
|
|
|
e = get_exception()
|
|
|
|
module.fail_json(msg="Unable to contact DNSimple: %s" % e.message)
|
|
|
|
module.fail_json(msg="Unable to contact DNSimple: %s" % e.message)
|
|
|
|
|
|
|
|
|
|
|
|
module.fail_json(msg="Unknown what you wanted me to do")
|
|
|
|
module.fail_json(msg="Unknown what you wanted me to do")
|
|
|
|
|
|
|
|
|
|
|
|
# import module snippets
|
|
|
|
# import module snippets
|
|
|
|
from ansible.module_utils.basic import *
|
|
|
|
from ansible.module_utils.basic import *
|
|
|
|
|
|
|
|
from ansible.module_utils.pycompat24 import get_exception
|
|
|
|
|
|
|
|
|
|
|
|
main()
|
|
|
|
main()
|
|
|
|