fix net_system domain_search examples (#65080)

This commit is contained in:
Sandra McCann 2019-11-19 16:21:55 -05:00 committed by Alicia Cozine
parent e65be0beee
commit 765b054f15

View file

@ -44,7 +44,7 @@ options:
description:
- Provides the list of domain suffixes to
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.
lookup_source:
description:
@ -73,11 +73,15 @@ EXAMPLES = """
net_system:
hostname: ios01
domain_name: test.example.com
domain-search:
domain_search:
- ansible.com
- redhat.com
- cisco.com
- name: domain search on single domain
net_system:
domain_search: ansible.com
- name: remove configuration
net_system:
state: absent