From c158fc66452606b55f8cc003376a01c98b9f6082 Mon Sep 17 00:00:00 2001 From: Webster Mudge Date: Tue, 12 Aug 2025 12:06:46 -0400 Subject: [PATCH 1/2] Add ansible-lint configuration file, including offline mode Signed-off-by: Webster Mudge --- .ansible-lint | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .ansible-lint diff --git a/.ansible-lint b/.ansible-lint new file mode 100644 index 0000000..6bbceaa --- /dev/null +++ b/.ansible-lint @@ -0,0 +1,19 @@ +# Copyright 2025 Cloudera, Inc. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +profile: production +quiet: true +strict: true +verbosity: 1 +offline: true From de655ba380c1d3c51465a00ade1e7443bffc30b5 Mon Sep 17 00:00:00 2001 From: Webster Mudge Date: Tue, 12 Aug 2025 12:06:49 -0400 Subject: [PATCH 2/2] Remove ansible-lint from pre-commit hooks Signed-off-by: Webster Mudge --- .ansible-lint | 1 + .pre-commit-config.yaml | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 6bbceaa..ba4d467 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,3 +1,4 @@ +--- # Copyright 2025 Cloudera, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a8c32c3..28e83e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -46,8 +46,3 @@ repos: hooks: - id: black name: lint python - - repo: https://github.com/ansible/ansible-lint - rev: v25.6.1 - hooks: - - id: ansible-lint - name: lint ansible