Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Add a tool for generating useful bug reports (a step or two past 'ansible --version') #106

Closed
alikins opened this issue May 25, 2016 · 3 comments

Comments

@alikins
Copy link

alikins commented May 25, 2016

The blurb in the issue boilerplate for request 'ansible --version' output is super useful.

Adding some support for the next step could improve bug reports even more.

for ex ansible-playbook --issue-info site.yml

'--issue-info' could include:

  • all the 'ansible --version' info
  • any non-default config
  • controller env info (os, arch, python version, etc)
  • what inventory mechanism was used
  • what roles were referenced
  • module/library paths and versions
  • what modules/tasks were referenced
    • what module/tasks were actually invoked

Basically, enough info to figure out the specific folks to ping about the issue (and/or assign, etc).

Stretch goal:
Implement so it dumps the info a format that could be 'replayed' to some degree.
(for ex, checkout the matching version, setup matching config, matching python version, roles versions, etc).

@bcoca
Copy link
Member

bcoca commented Aug 10, 2016

i was planning on ansible-config dump to get all the settings for the 'current' config and the 'origin' of where they were set.

I had working version on a branch, but needs rebase/rework.

@bcoca
Copy link
Member

bcoca commented Aug 10, 2016

Also this might belong in proposals.

@bcoca
Copy link
Member

bcoca commented Nov 8, 2016

ansible/proposals#35

@gregdek gregdek closed this as completed Jun 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants