mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Correct nmcli dns example and documentation. Fix example indent (#20203)
Fixes https://github.com/ansible/ansible-modules-extras/issues/1910 and https://github.com/ansible/ansible-modules-extras/issues/1843
This commit is contained in:
parent
797259f757
commit
603366863f
1 changed files with 10 additions and 9 deletions
|
@ -62,7 +62,7 @@ options:
|
|||
required: False
|
||||
choices: [ ethernet, team, team-slave, bond, bond-slave, bridge, vlan ]
|
||||
description:
|
||||
- This is the type of device or network connection that you wish to create.
|
||||
- This is the type of device or network connection that you wish to create or modify.
|
||||
mode:
|
||||
required: False
|
||||
choices: [ "balance-rr", "active-backup", "balance-xor", "broadcast", "802.3ad", "balance-tlb", "balance-alb" ]
|
||||
|
@ -87,7 +87,7 @@ options:
|
|||
required: False
|
||||
default: None
|
||||
description:
|
||||
- 'A list of upto 3 dns servers, ipv4 format e.g. To add two IPv4 DNS server addresses: ["192.0.2.53", "198.51.100.53"]'
|
||||
- 'A list of upto 3 dns servers, ipv4 format e.g. To add two IPv4 DNS server addresses: "192.0.2.53 198.51.100.53"'
|
||||
ip6:
|
||||
required: False
|
||||
default: None
|
||||
|
@ -101,7 +101,7 @@ options:
|
|||
dns6:
|
||||
required: False
|
||||
description:
|
||||
- 'A list of upto 3 dns servers, ipv6 format e.g. To add two IPv6 DNS server addresses: ["2001:4860:4860::8888 2001:4860:4860::8844"]'
|
||||
- 'A list of upto 3 dns servers, ipv6 format e.g. To add two IPv6 DNS server addresses: "2001:4860:4860::8888 2001:4860:4860::8844"'
|
||||
mtu:
|
||||
required: False
|
||||
default: 1500
|
||||
|
@ -456,6 +456,7 @@ EXAMPLES='''
|
|||
# To add two IPv4 DNS server addresses:
|
||||
- nmcli:
|
||||
conn_name: my-eth1
|
||||
type: ethernet
|
||||
dns4:
|
||||
- 192.0.2.53
|
||||
- 198.51.100.53
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue