diff --git a/bbot/core/helpers/depsinstaller/installer.py b/bbot/core/helpers/depsinstaller/installer.py index 72f6b5575..8ba97819d 100644 --- a/bbot/core/helpers/depsinstaller/installer.py +++ b/bbot/core/helpers/depsinstaller/installer.py @@ -278,8 +278,8 @@ def ansible_run(self, tasks=None, module=None, args=None, ansible_args=None): success = res.status == "successful" err = "" for e in res.events: - # if self.ansible_debug and not success: - # log.debug(json.dumps(e, indent=4)) + if self.ansible_debug and not success: + log.debug(json.dumps(e, indent=4)) if e["event"] == "runner_on_failed": err = e["event_data"]["res"]["msg"] break diff --git a/bbot/test/test.conf b/bbot/test/test.conf index fe360effc..ba8367461 100644 --- a/bbot/test/test.conf +++ b/bbot/test/test.conf @@ -29,7 +29,7 @@ scope_search_distance: 0 scope_report_distance: 0 scope_dns_search_distance: 1 plumbus: asdf -dns_debug: true +dns_debug: false user_agent: "BBOT Test User-Agent" http_debug: false agent_url: ws://127.0.0.1:8765 @@ -48,4 +48,4 @@ dns_wildcard_ignore: - google - google.com - example.com - - evilcorp.com \ No newline at end of file + - evilcorp.com