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 }}" 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…
Cancel
Save