Skip to content

Commit

Permalink
docs: add hint to ansible-lint as an alternative to this script
Browse files Browse the repository at this point in the history
Closes: #26
  • Loading branch information
ypid committed Oct 17, 2024
1 parent a786caf commit 85c8b84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)

# Ansible FQCN converter

**As of 2024, `ansible-lint --fix fqcn` can also do the following but it will reformat the YAML when rewriting.**

Update ansible tasks, playbooks, handlers etc. to use fully qualified module names (even for ansible builtins) by searching for all known modules that are not in fqcn notation and replacing them with the fqcn name.

In some cases the replacement might be ambiguous, so a warning will be issued (and by default added as a comment to the changed files; see `-W` arg).
Expand Down

0 comments on commit 85c8b84

Please sign in to comment.