VMware: vmware_guest_snapshot: fix the syntax of the example (#54362)

pull/54382/head
Gonéri Le Bouder 6 years ago committed by Abhijeet Kasurde
parent 52c8a28ac9
commit 8aec69dd89

@ -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…
Cancel
Save