Adds .gitea/workflows/lint.yaml calling DevOps/software-infrastructure's reusable-ansible-role-lint.yaml, and a baseline (.ansible-lint-ignore, 1 file/rule entries) of existing findings so only new problems fail. Manual-only until the shared runner is proven stable (#41) and the CI tools image is published (#49). CI files only; nothing the role deploys changes. Refs DevOps/software-infrastructure#53 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
709 B
YAML
28 lines
709 B
YAML
# ansible-lint for this role. DevOps/software-infrastructure#53 (G5).
|
|
# Uses the shared reusable workflow; see docs/ci-cd/adding-ci.md in
|
|
# DevOps/software-infrastructure. Known findings are baselined in
|
|
# .ansible-lint-ignore, so only new problems fail.
|
|
#
|
|
# Manual-only until the shared runner is proven stable (#41) and the CI
|
|
# tools image is published (#49). Then replace `on:` with:
|
|
#
|
|
# on:
|
|
# push:
|
|
# branches: [main]
|
|
# pull_request:
|
|
name: lint
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: lint-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
ansible:
|
|
uses: DevOps/software-infrastructure/.gitea/workflows/reusable-ansible-role-lint.yaml@main
|