Skip to content

Commit 8402cda

Browse files
authored
Add ansible-lint config and remove from pre-commit hooks (#175)
* Add ansible-lint configuration file, including offline mode * Remove ansible-lint from pre-commit hooks Signed-off-by: Webster Mudge <[email protected]>
1 parent 7dcc991 commit 8402cda

File tree

2 files changed

+20
-5
lines changed

2 files changed

+20
-5
lines changed

.ansible-lint

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
# Copyright 2025 Cloudera, Inc. All Rights Reserved.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
profile: production
17+
quiet: true
18+
strict: true
19+
verbosity: 1
20+
offline: true

.pre-commit-config.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,3 @@ repos:
4646
hooks:
4747
- id: black
4848
name: lint python
49-
- repo: https://github.com/ansible/ansible-lint
50-
rev: v25.6.1
51-
hooks:
52-
- id: ansible-lint
53-
name: lint ansible

0 commit comments

Comments
 (0)