fix: add noqa comments for linting in workflow and role inclusion
Some checks failed
Test / Lint (push) Successful in 13s
Test / Lint (pull_request) Successful in 13s
Test / Test (push) Has been skipped
Test / Test (pull_request) Failing after 37s

This commit is contained in:
Daniel Akulenok
2026-01-28 23:25:35 +01:00
parent 45d9861960
commit 4cb9cb3e3f
4 changed files with 6 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
---
name: Test
on:
on: # noqa: yaml[truthy]
push:
branches:
- main

View File

@@ -4,7 +4,7 @@
tasks:
- name: Include bind9 role
ansible.builtin.include_role:
name: ../../../ansible-bind9-role
name: ../../../ansible-bind9-role # noqa: role-name[path]
vars:
bind9_host_config:
- name: named.conf.options

View File

@@ -22,6 +22,9 @@
tags:
- bind9
- template
notify:
- Backup bind config
- Restart bind
block:
- name: Create backup of current config
ansible.builtin.copy:
@@ -82,9 +85,6 @@
loop_control:
label: "{{ item.name }}"
when: bind9_backup_config | bool is false
notify:
- Backup bind config
- Restart bind
- name: Ensure the named service is started
ansible.builtin.service:

View File

@@ -2,4 +2,4 @@
- hosts: localhost
remote_user: root
roles:
- bind9
- bind9 # noqa: syntax-check[specific]