mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
VMware: vmware_guest_snapshot: fix the syntax of the example (#54362)
This commit is contained in:
parent
52c8a28ac9
commit
8aec69dd89
1 changed files with 7 additions and 7 deletions
|
@ -133,7 +133,7 @@ EXAMPLES = '''
|
|||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
datacenter: "{{ datacenter_name }}"
|
||||
folder: /"{{ datacenter_name }}"/vm/
|
||||
folder: "/{{ datacenter_name }}/vm/"
|
||||
name: "{{ guest_name }}"
|
||||
state: present
|
||||
snapshot_name: snap1
|
||||
|
@ -146,7 +146,7 @@ EXAMPLES = '''
|
|||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
datacenter: "{{ datacenter_name }}"
|
||||
folder: /"{{ datacenter_name }}"/vm/
|
||||
folder: "/{{ datacenter_name }}/vm/"
|
||||
name: "{{ guest_name }}"
|
||||
state: absent
|
||||
snapshot_name: snap1
|
||||
|
@ -158,7 +158,7 @@ EXAMPLES = '''
|
|||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
datacenter: "{{ datacenter_name }}"
|
||||
folder: /"{{ datacenter_name }}"/vm/
|
||||
folder: "/{{ datacenter_name }}/vm/"
|
||||
name: "{{ guest_name }}"
|
||||
state: revert
|
||||
snapshot_name: snap1
|
||||
|
@ -170,7 +170,7 @@ EXAMPLES = '''
|
|||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
datacenter: "{{ datacenter_name }}"
|
||||
folder: /"{{ datacenter_name }}"/vm/
|
||||
folder: "/{{ datacenter_name }}/vm/"
|
||||
name: "{{ guest_name }}"
|
||||
state: remove_all
|
||||
delegate_to: localhost
|
||||
|
@ -181,7 +181,7 @@ EXAMPLES = '''
|
|||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
datacenter: "{{ datacenter_name }}"
|
||||
folder: /"{{ datacenter_name }}"/vm/
|
||||
folder: "/{{ datacenter_name }}/vm/"
|
||||
name: "{{ guest_name }}"
|
||||
state: present
|
||||
snapshot_name: dummy_vm_snap_0001
|
||||
|
@ -195,7 +195,7 @@ EXAMPLES = '''
|
|||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
datacenter: "{{ datacenter_name }}"
|
||||
folder: /"{{ datacenter_name }}"/vm/
|
||||
folder: "/{{ datacenter_name }}/vm/"
|
||||
name: "{{ guest_name }}"
|
||||
state: absent
|
||||
remove_children: yes
|
||||
|
@ -208,7 +208,7 @@ EXAMPLES = '''
|
|||
username: "{{ vcenter_username }}"
|
||||
password: "{{ vcenter_password }}"
|
||||
datacenter: "{{ datacenter_name }}"
|
||||
folder: /"{{ datacenter_name }}"/vm/
|
||||
folder: "/{{ datacenter_name }}/vm/"
|
||||
name: "{{ guest_name }}"
|
||||
state: present
|
||||
snapshot_name: current_snap_name
|
||||
|
|
Loading…
Reference in a new issue