mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
virt_net modify should fail when tag is not host (#53679)
* fail if tag is not host * actually use modify command in example
This commit is contained in:
parent
ac7df0ef65
commit
e23b116157
1 changed files with 3 additions and 2 deletions
|
@ -133,6 +133,7 @@ EXAMPLES = '''
|
|||
# Add a new host in the dhcp pool
|
||||
- virt_net:
|
||||
name: br_nat
|
||||
command: modify
|
||||
xml: "<host mac='FC:C2:33:00:6c:3c' name='my_vm' ip='192.168.122.30'/>"
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue