Skip to content

[RFE] Display --fix report after ansible-lint run #3849

Open
@ganeshrn

Description

@ganeshrn
Summary

Provide a output report of the files that are modified and the line number, the rule name that is fixed after ansible-lint is run in autofix mode.

Issue Type
  • Bug Report
OS / ENVIRONMENT
ansible-lint --version
  • ansible installation method: one of source, pip, OS package
  • ansible-lint installation method: one of source, pip, OS package
STEPS TO REPRODUCE
Desired Behavior

Show the files modified with line number and the rule violation fixed in the ansible-lint --fix all command run output.

Actual Behavior

Please give some details of what is happening.
Include a minimum complete verifiable example with:

  • minimized playbook to reproduce the error
  • the output of running ansible-lint including the command line used
  • if you're getting a stack trace, also the output of
    ansible-playbook --syntax-check playbook

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Roadmap

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions