From d50e2c654f12b9fd9a944ab235b75738363eccea Mon Sep 17 00:00:00 2001 From: Mike Rostermund Date: Sat, 29 Oct 2016 00:03:45 +0200 Subject: [PATCH] lxd_container: doc: Correct name and state for example of deleting (#3299) --- lib/ansible/modules/extras/cloud/lxd/lxd_container.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py index a92cdd7ce7..3b00d3b4f7 100644 --- a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py +++ b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py @@ -179,10 +179,10 @@ EXAMPLES = ''' - hosts: localhost connection: local tasks: - - name: Restart a container + - name: Delete a container lxd_container: name: mycontainer - state: restarted + state: absent # An example for restarting a container - hosts: localhost