diff --git a/fqcn-fixer.py b/fqcn-fixer.py index 0f73f7e..3072c47 100755 --- a/fqcn-fixer.py +++ b/fqcn-fixer.py @@ -86,7 +86,7 @@ def increase_indent(self, flow=False, *dargs, **dkwargs): # pylint: disable=keyw # a keyword used for a module (ansible.builtin.gather_facts called by the setup task) # and for a configuration option at play level _general_exclude_regex = [ - re.compile(r'\s*gather_facts:\s*(no|yes|true|false)', re.IGNORECASE), + re.compile(r'\s*gather_facts:\s*\S+', re.IGNORECASE), re.compile(r'\s*-\srole:\s*\w+'), ]