community.general/lib/ansible/modules/net_tools
Andreas Olsson 7ac061139b Sort out parameter requirements for cloudflare_dns (#31800)
This module is mostly written to make room for the option of not
setting the `value` parameter while `state=absent`. That choice being
a feature, since it allows both for the removal of individual records
as well as the removal of full record sets.

The opposite goes for the `record` parameter, which needs to be defined
at least by its default value for the module to be able to produce any
meaningful result. Hence making it explicit as part of required_if.

The MX record type is already plenty covered. In addition to the
priority parameter having a default value, the `ensure_dns_record`
method does its own parameter checking.

SRV records on the other hand do need additional parameter
checking. Primarily with the `delete_dns_records` method in mind.

Fixes #23957
2018-01-11 12:03:54 -05:00
..
basics Easier to debug (#30675) 2017-12-19 22:33:11 -06:00
exoscale exoscale: similar env vars as in cloudstack 2017-08-22 14:43:48 +02:00
infinity Fix dangerous default args. (#29839) 2017-09-12 00:11:13 -07:00
ldap Update metadata to 1.1 2017-08-15 23:12:08 -07:00
__init__.py Split modules/network into two parts (#24024) 2017-04-27 16:42:41 +01:00
cloudflare_dns.py Sort out parameter requirements for cloudflare_dns (#31800) 2018-01-11 12:03:54 -05:00
dnsimple.py Bulk autopep8 (modules) 2017-12-07 20:25:55 +00:00
dnsmadeeasy.py Bulk pep8 fixes - hand crafted (#33690) 2017-12-07 19:29:21 -08:00
haproxy.py Fix typo in haproxy.py doc string (#31310) 2017-12-20 22:46:54 -05:00
ip_netns.py Add network namespace module (#21820) 2018-01-03 15:27:58 -05:00
ipify_facts.py Update metadata to 1.1 2017-08-15 23:12:08 -07:00
ipinfoio_facts.py Bulk autopep8 (modules) 2017-12-07 20:25:55 +00:00
lldp.py Updates lldp module example to use ifname instead of ifalias (#23064) 2017-08-17 15:38:30 -04:00
nmcli.py nmcli: Handle dbus exception (#34577) 2018-01-09 10:03:36 +01:00
nsupdate.py Add optional port parameter to nsupdate module (#31446) 2017-10-09 05:51:17 -04:00
omapi_host.py Bulk autopep8 (modules) 2017-12-07 20:25:55 +00:00
snmp_facts.py Bulk pep8 fixes - hand crafted (#33690) 2017-12-07 19:29:21 -08:00