test: add forgejo workflow
All checks were successful
/ lint (push) Successful in 8s
/ molecule (push) Successful in 1m31s

This commit is contained in:
Adrien Waksberg 2024-05-09 10:58:57 +02:00
parent 6d2f3b5395
commit 32bfc5ad45
4 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,18 @@
---
on: [push]
jobs:
lint:
runs-on: docker
container:
image: code.waks.be/nishiki/molecule:docker
steps:
- uses: actions/checkout@v3
- run: ansible-lint .
- run: yamllint .
molecule:
runs-on: docker
container:
image: code.waks.be/nishiki/molecule:docker
steps:
- uses: actions/checkout@v3
- run: molecule test

View file

@ -4,10 +4,9 @@ extends: default
ignore: |
.kitchen*
vendor/
test/
.forgejo/
rules:
line-length:
max: 120
level: warning
truthy: false

View file

@ -2,6 +2,7 @@
[![Version](https://img.shields.io/badge/latest_version-1.3.0-green.svg)](https://code.waks.be/nishiki/ansible-role-bind/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/ansible-role-bind/src/branch/main/LICENSE)
[![Build](https://code.waks.be/nishiki/ansible-role-bind/actions/workflows/molecule.yml/badge.svg?branch=main)](https://code.waks.be/nishiki/ansible-role-bind/actions?workflow=molecule.yml)
Install and configure bind with dnssec

View file

@ -49,7 +49,7 @@
ansible.builtin.find:
path: /etc/bind/zones
file_type: directory
recurse: no
recurse: false
register: zone_folders
- name: Delete old zone file