Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
homelab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shore
homelab
Commits
4b3638f2
Commit
4b3638f2
authored
1 year ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
pre-commit: Update the ansible-lint hook.
parent
49549b66
No related branches found
No related tags found
No related merge requests found
Pipeline
#3524
failed
1 year ago
Stage: .pre
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+3
-2
3 additions, 2 deletions
.pre-commit-config.yaml
Ansible/roles/router/tasks/main.yaml
+6
-6
6 additions, 6 deletions
Ansible/roles/router/tasks/main.yaml
with
9 additions
and
8 deletions
.pre-commit-config.yaml
+
3
−
2
View file @
4b3638f2
...
...
@@ -72,11 +72,12 @@ repos:
-
id
:
shellcheck
-
repo
:
https://github.com/ansible/ansible-lint.git
rev
:
v6.
0.2
rev
:
v6.
19.0
hooks
:
-
id
:
ansible-lint
args
:
-
"
--project-dir
Ansible"
-
"
--project-dir=Ansible"
-
"
--exclude=Ansible/collections"
-
repo
:
https://github.com/AleksaC/hadolint-py.git
rev
:
v2.8.0
...
...
This diff is collapsed.
Click to expand it.
Ansible/roles/router/tasks/main.yaml
+
6
−
6
View file @
4b3638f2
...
...
@@ -24,12 +24,12 @@
-
name
:
Set services entries
loop
:
-
line
:
'
wwwproxy
3129/tcp'
# noqa
203
regexp
:
'
3129/tcp'
# noqa
203
-
line
:
'
ftpproxy
8021/tcp'
# noqa
203
regexp
:
'
8021/tcp'
# noqa
203
-
line
:
'
bittorrent
51413/tcp'
# noqa
203
regexp
:
'
51413/tcp'
# noqa
203
-
line
:
'
wwwproxy
3129/tcp'
# noqa
no-tabs
regexp
:
'
3129/tcp'
# noqa
no-tabs
-
line
:
'
ftpproxy
8021/tcp'
# noqa
no-tabs
regexp
:
'
8021/tcp'
# noqa
no-tabs
-
line
:
'
bittorrent
51413/tcp'
# noqa
no-tabs
regexp
:
'
51413/tcp'
# noqa
no-tabs
ansible.builtin.lineinfile
:
backup
:
true
line
:
'
{{
item.line
}}'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment