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