mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-17 13:51:07 -07:00
nmcli: Fix documentation example (#515)
Migrated from https://github.com/ansible/ansible/pull/68259 This is based upon the work done by https://github.com/cdomingos Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
2aaab59d04
commit
58eba98de9
1 changed files with 6 additions and 6 deletions
|
@ -445,12 +445,12 @@ EXAMPLES = r'''
|
||||||
|
|
||||||
- name: Add an Ethernet connection with static IP configuration
|
- name: Add an Ethernet connection with static IP configuration
|
||||||
nmcli:
|
nmcli:
|
||||||
conn_name: my-eth1
|
conn_name: my-eth1
|
||||||
ifname: eth1
|
ifname: eth1
|
||||||
type: ethernet
|
type: ethernet
|
||||||
ip4: 192.0.2.100/24
|
ip4: 192.0.2.100/24
|
||||||
gw4: 192.0.2.1
|
gw4: 192.0.2.1
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Add an Team connection with static IP configuration
|
- name: Add an Team connection with static IP configuration
|
||||||
nmcli:
|
nmcli:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue