From 2729700cc26da1d8b22a3c5b7b9d42868957b847 Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Thu, 17 Oct 2024 21:10:34 +0200 Subject: [PATCH] docs: add hint to ansible-lint as an alternative to this script Closes: #26 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ae76569..65cd0e2 100644 --- a/README.md +++ b/README.md @@ -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 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.** + 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).