Skip to content

Commit

Permalink
ansible troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Dec 11, 2023
1 parent 6f6fd96 commit b6654d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bbot/core/helpers/depsinstaller/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions bbot/test/test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -48,4 +48,4 @@ dns_wildcard_ignore:
- google
- google.com
- example.com
- evilcorp.com
- evilcorp.com

0 comments on commit b6654d8

Please sign in to comment.