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 }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
datacenter: "{{ datacenter_name }}"
|
datacenter: "{{ datacenter_name }}"
|
||||||
folder: /"{{ datacenter_name }}"/vm/
|
folder: "/{{ datacenter_name }}/vm/"
|
||||||
name: "{{ guest_name }}"
|
name: "{{ guest_name }}"
|
||||||
state: present
|
state: present
|
||||||
snapshot_name: snap1
|
snapshot_name: snap1
|
||||||
|
@ -146,7 +146,7 @@ EXAMPLES = '''
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
datacenter: "{{ datacenter_name }}"
|
datacenter: "{{ datacenter_name }}"
|
||||||
folder: /"{{ datacenter_name }}"/vm/
|
folder: "/{{ datacenter_name }}/vm/"
|
||||||
name: "{{ guest_name }}"
|
name: "{{ guest_name }}"
|
||||||
state: absent
|
state: absent
|
||||||
snapshot_name: snap1
|
snapshot_name: snap1
|
||||||
|
@ -158,7 +158,7 @@ EXAMPLES = '''
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
datacenter: "{{ datacenter_name }}"
|
datacenter: "{{ datacenter_name }}"
|
||||||
folder: /"{{ datacenter_name }}"/vm/
|
folder: "/{{ datacenter_name }}/vm/"
|
||||||
name: "{{ guest_name }}"
|
name: "{{ guest_name }}"
|
||||||
state: revert
|
state: revert
|
||||||
snapshot_name: snap1
|
snapshot_name: snap1
|
||||||
|
@ -170,7 +170,7 @@ EXAMPLES = '''
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
datacenter: "{{ datacenter_name }}"
|
datacenter: "{{ datacenter_name }}"
|
||||||
folder: /"{{ datacenter_name }}"/vm/
|
folder: "/{{ datacenter_name }}/vm/"
|
||||||
name: "{{ guest_name }}"
|
name: "{{ guest_name }}"
|
||||||
state: remove_all
|
state: remove_all
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
|
@ -181,7 +181,7 @@ EXAMPLES = '''
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
datacenter: "{{ datacenter_name }}"
|
datacenter: "{{ datacenter_name }}"
|
||||||
folder: /"{{ datacenter_name }}"/vm/
|
folder: "/{{ datacenter_name }}/vm/"
|
||||||
name: "{{ guest_name }}"
|
name: "{{ guest_name }}"
|
||||||
state: present
|
state: present
|
||||||
snapshot_name: dummy_vm_snap_0001
|
snapshot_name: dummy_vm_snap_0001
|
||||||
|
@ -195,7 +195,7 @@ EXAMPLES = '''
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
datacenter: "{{ datacenter_name }}"
|
datacenter: "{{ datacenter_name }}"
|
||||||
folder: /"{{ datacenter_name }}"/vm/
|
folder: "/{{ datacenter_name }}/vm/"
|
||||||
name: "{{ guest_name }}"
|
name: "{{ guest_name }}"
|
||||||
state: absent
|
state: absent
|
||||||
remove_children: yes
|
remove_children: yes
|
||||||
|
@ -208,7 +208,7 @@ EXAMPLES = '''
|
||||||
username: "{{ vcenter_username }}"
|
username: "{{ vcenter_username }}"
|
||||||
password: "{{ vcenter_password }}"
|
password: "{{ vcenter_password }}"
|
||||||
datacenter: "{{ datacenter_name }}"
|
datacenter: "{{ datacenter_name }}"
|
||||||
folder: /"{{ datacenter_name }}"/vm/
|
folder: "/{{ datacenter_name }}/vm/"
|
||||||
name: "{{ guest_name }}"
|
name: "{{ guest_name }}"
|
||||||
state: present
|
state: present
|
||||||
snapshot_name: current_snap_name
|
snapshot_name: current_snap_name
|
||||||
|
|
Loading…
Reference in a new issue