From 8aec69dd89fd23b7a63bb6ba488d9f11a77a4b91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A9ri=20Le=20Bouder?= Date: Tue, 26 Mar 2019 00:40:12 -0400 Subject: [PATCH] VMware: vmware_guest_snapshot: fix the syntax of the example (#54362) --- .../modules/cloud/vmware/vmware_guest_snapshot.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py b/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py index 1e554770c89..320b8b62f24 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py +++ b/lib/ansible/modules/cloud/vmware/vmware_guest_snapshot.py @@ -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