From d26c84d62053bcbe2b3941cf41bbbd1f9074013f Mon Sep 17 00:00:00 2001
From: Hiroaki Nakamura <hnakamur@gmail.com>
Date: Tue, 28 Jun 2016 23:02:08 +0900
Subject: [PATCH] Fix invalid YAML in document

---
 .../modules/extras/cloud/lxd/lxd_container.py | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py
index 9e4caf758e..482e75bb1e 100644
--- a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py
+++ b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py
@@ -39,7 +39,8 @@ options:
         required: false
     config:
         description:
-          - The config for the container (e.g. '{"limits.cpu": "2"}').
+          - >
+            The config for the container (e.g. {"limits.cpu": "2"}).
             See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1
           - If the container already exists and its "config" value in metadata
             obtained from
@@ -52,8 +53,9 @@ options:
         required: false
     devices:
         description:
-          - The devices for the container
-            (e.g. '{ "rootfs": { "path": "/dev/kvm", "type": "unix-char" }').
+          - >
+            The devices for the container
+            (e.g. { "rootfs": { "path": "/dev/kvm", "type": "unix-char" }).
             See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1
         required: false
     ephemeral:
@@ -63,10 +65,13 @@ options:
         required: false
     source:
         description:
-          - The source for the container
-            (e.g. '{ "type": "image", "mode": "pull",
-            "server": "https://images.linuxcontainers.org", "protocol": "lxd",
-            "alias": "ubuntu/xenial/amd64" }').
+          - >
+            The source for the container
+            (e.g. { "type": "image",
+                    "mode": "pull",
+                    "server": "https://images.linuxcontainers.org",
+                    "protocol": "lxd",
+                    "alias": "ubuntu/xenial/amd64" }).
             See https://github.com/lxc/lxd/blob/master/doc/rest-api.md#post-1
         required: false
     state: