mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00: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:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user