|
|
@ -44,7 +44,7 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Provides the list of domain suffixes to
|
|
|
|
- Provides the list of domain suffixes to
|
|
|
|
append to the hostname for the purpose of doing name resolution.
|
|
|
|
append to the hostname for the purpose of doing name resolution.
|
|
|
|
This argument accepts a list of names and will be reconciled
|
|
|
|
This argument accepts a name or list of names and will be reconciled
|
|
|
|
with the current active configuration on the running node.
|
|
|
|
with the current active configuration on the running node.
|
|
|
|
lookup_source:
|
|
|
|
lookup_source:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -73,11 +73,15 @@ EXAMPLES = """
|
|
|
|
net_system:
|
|
|
|
net_system:
|
|
|
|
hostname: ios01
|
|
|
|
hostname: ios01
|
|
|
|
domain_name: test.example.com
|
|
|
|
domain_name: test.example.com
|
|
|
|
domain-search:
|
|
|
|
domain_search:
|
|
|
|
- ansible.com
|
|
|
|
- ansible.com
|
|
|
|
- redhat.com
|
|
|
|
- redhat.com
|
|
|
|
- cisco.com
|
|
|
|
- cisco.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: domain search on single domain
|
|
|
|
|
|
|
|
net_system:
|
|
|
|
|
|
|
|
domain_search: ansible.com
|
|
|
|
|
|
|
|
|
|
|
|
- name: remove configuration
|
|
|
|
- name: remove configuration
|
|
|
|
net_system:
|
|
|
|
net_system:
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|