From ccb28f1c85261c9edaa39678fae54dafdf7deb52 Mon Sep 17 00:00:00 2001 From: Andeye Date: Mon, 16 Jan 2023 18:35:31 +0200 Subject: [PATCH] Clarify effects of --offline flag (#2896) Co-authored-by: Anders Forsman --- .ansible-lint | 2 +- src/ansiblelint/cli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 11cc703d25..38a899a8b5 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -75,7 +75,7 @@ warn_list: # write_list: # - all -# Offline mode disables installation of requirements.yml +# Offline mode disables installation of requirements.yml and schema refreshing offline: true # Return success if number of violations compared with previous git diff --git a/src/ansiblelint/cli.py b/src/ansiblelint/cli.py index 3076a1fc18..b111e10b68 100644 --- a/src/ansiblelint/cli.py +++ b/src/ansiblelint/cli.py @@ -415,7 +415,7 @@ def get_cli_parser() -> argparse.ArgumentParser: dest="offline", action="store_const", const=True, - help="Disable installation of requirements.yml", + help="Disable installation of requirements.yml and schema refreshing", ) parser.add_argument( "--version",