diff --git a/cloud/lxd/lxd_container.py b/cloud/lxd/lxd_container.py index a92cdd7ce7e..3b00d3b4f7a 100644 --- a/cloud/lxd/lxd_container.py +++ b/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