mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add documentation for the modify command, by giving a example (#19699)
This commit is contained in:
parent
03414727ba
commit
804d574d1f
1 changed files with 5 additions and 0 deletions
|
@ -129,6 +129,11 @@ EXAMPLES = '''
|
|||
- virt_net:
|
||||
autostart: no
|
||||
name: br_nat
|
||||
|
||||
# Add a new host in the dhcp pool
|
||||
- virt_net:
|
||||
name: br_nat
|
||||
xml: "<host mac='FC:C2:33:00:6c:3c' name='my_vm' ip='192.168.122.30'/>"
|
||||
'''
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue