diff --git a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py index 6aa7bdae70..8754b6f6ee 100644 --- a/lib/ansible/modules/extras/cloud/lxd/lxd_container.py +++ b/lib/ansible/modules/extras/cloud/lxd/lxd_container.py @@ -315,7 +315,7 @@ class LxdContainerManagement(object): "changed" : state_changed, "old_state" : self.old_state, "logs" : self.logs - } + } if self.addresses is not None: result_json['addresses'] = self.addresses self.module.exit_json(**result_json)