ci: move ansible-lint to pre-commit
This commit is contained in:
1 parent
f3a14a308d
commit
6bf6535735
35 files changed
+47
-15
No files matched your search
@@ -1,8 +1,13 @@
|
||||
---
|
||||
exclude_paths:
|
||||
- .github
|
||||
- molecule
|
||||
- playbooks
|
||||
- roles/kube_prometheus_stack/files/
|
||||
|
||||
warn_list:
|
||||
- jinja[invalid]
|
||||
- jinja[spacing]
|
||||
- name[casing]
|
||||
- template-instead-of-copy
|
||||
- yaml[line-length]
|
||||
@@ -3,16 +3,6 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
ansible-lint:
|
||||
runs-on: ubuntu-latest
|
||||
container: haxorof/ansible-lint:v6
|
||||
steps:
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- run: ansible-lint roles
|
||||
env:
|
||||
GITHUB_ACTIONS: true
|
||||
GITHUB_WORKFLOW: "{{ github.workflow.name }}"
|
||||
|
||||
images:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
@@ -4,7 +4,13 @@ repos:
|
||||
hooks:
|
||||
- id: conventional-pre-commit
|
||||
stages:
|
||||
- commit-msg
|
||||
- commit-msg
|
||||
|
||||
- repo: https://github.com/ansible-community/ansible-lint
|
||||
rev: v6.6.0
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
files: \.(yaml|yml)$
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 22.8.0
|
||||
|
||||
+4
-4
@@ -4,11 +4,11 @@ namespace: vexxhost
|
||||
readme: README.md
|
||||
version: 0.1.0
|
||||
authors:
|
||||
- Mohammed Naser <mnaser@vexxhost.com>
|
||||
- Mohammed Naser <mnaser@vexxhost.com>
|
||||
build_ignore:
|
||||
- .tox
|
||||
- .vscode
|
||||
- doc
|
||||
- .tox
|
||||
- .vscode
|
||||
- doc
|
||||
dependencies:
|
||||
ansible.netcommon: 1.2.0
|
||||
ansible.posix: 1.3.0
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Ceph CSI RBD
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for cert-manager
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Cilium
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Meta role for managing CSI
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for ingress-nginx
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for IPMI exporter
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for keepalived
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for kube-prometheus-stack
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Kubernetes
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for node-feature-discovery
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack exporter
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Barbican
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Cinder
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Glance
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Heat
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Horizon
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Ceph provisioners
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Libvirt
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Memcached
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Open vSwitch
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Keystone
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Neutron
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Nova
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Placement
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Senlin
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for OpenStack Tempest
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Percona XtraDB Cluster
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for PowerStore CSI
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for Prometheus Pushgateway
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for RabbitMQ
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
@@ -17,6 +17,7 @@ galaxy_info:
|
||||
description: Ansible role for RabbitMQ operator
|
||||
license: Apache-2.0
|
||||
min_ansible_version: 5.5.0
|
||||
standalone: false
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
|
||||
Reference in new issue
Block a user