ci(pre-commit): update pre-commit hooks
Update task names to match name[casing] tag in ansible-lint
This commit is contained in:
parent
f0433ba8c7
commit
7c37fa3658
|
@ -3,13 +3,13 @@ default_stages: [ commit, manual ]
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.0.1
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: no-commit-to-branch
|
- id: no-commit-to-branch
|
||||||
args: [ --branch, main ]
|
args: [ --branch, main ]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.0.1
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
args: [ --markdown-linebreak-ext=md ]
|
args: [ --markdown-linebreak-ext=md ]
|
||||||
|
@ -17,11 +17,11 @@ repos:
|
||||||
- id: fix-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
|
|
||||||
- repo: https://github.com/ansible-community/ansible-lint.git
|
- repo: https://github.com/ansible-community/ansible-lint.git
|
||||||
rev: v5.3.1
|
rev: v6.14.0a0
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- id: ansible-lint
|
||||||
|
|
||||||
- repo: https://github.com/jorisroovers/gitlint
|
- repo: https://github.com/jorisroovers/gitlint
|
||||||
rev: v0.17.0
|
rev: v0.19.0dev
|
||||||
hooks:
|
hooks:
|
||||||
- id: gitlint
|
- id: gitlint
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: include_tasks | manage local groups
|
- name: Include_tasks | manage local groups
|
||||||
ansible.builtin.include_tasks: manage_group.yaml
|
ansible.builtin.include_tasks: manage_group.yaml
|
||||||
when: |
|
when: |
|
||||||
local_group_group is defined and
|
local_group_group is defined and
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
- name: group | manage local groups
|
- name: Group | manage local groups
|
||||||
ansible.builtin.group:
|
ansible.builtin.group:
|
||||||
name: "{{ group }}"
|
name: "{{ group }}"
|
||||||
gid: "{{ local_group_group[group].gid | default(omit) }}"
|
gid: "{{ local_group_group[group].gid | default(omit) }}"
|
||||||
|
|
Loading…
Reference in New Issue