diff --git a/plugins/modules/docker_compose.py b/plugins/modules/docker_compose.py index 1744a4879..e053a2b64 100644 --- a/plugins/modules/docker_compose.py +++ b/plugins/modules/docker_compose.py @@ -229,7 +229,7 @@ ansible.builtin.debug: var: output - - name: Verify that web and db services are running + - name: Verify that web and db services are not running ansible.builtin.assert: that: - "not output.services.web.flask_web_1.state.running"