Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
ansible-lint --fix fqcn
  • Loading branch information
zerwes authored Mar 3, 2025
1 parent 8157d7b commit 9b2f39f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ You can use a `.ansible-lint` config file as input to `-c` in order to define `E
### tricks
parse just one file: use `-e $FILENAME`

### comparision to `ansible-lint --fix fqcn`
**As of ansible-lint 6.15.0 (2023-04-21), `ansible-lint --fix fqcn` can also do the following but it will reformat the YAML when rewriting.**

## example
Example result from [ansible-opnsense-checkmk](https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-checkmk): [commit ffb281e67511c3c729661e8bbd3ca460b8c3d190](https://github.com/Rosa-Luxemburgstiftung-Berlin/ansible-opnsense-checkmk/commit/ffb281e67511c3c729661e8bbd3ca460b8c3d190)

Expand Down Expand Up @@ -247,7 +250,3 @@ index d9885ca..dca0b0c 100644
path: /etc/rc.conf.d/inetd
create: true
```

## Notes

**As of ansible-lint 6.15.0 (2023-04-21), `ansible-lint --fix fqcn` can also do the following but it will reformat the YAML when rewriting.**

0 comments on commit 9b2f39f

Please sign in to comment.