test: add forgejo workflow
This commit is contained in:
parent
6d2f3b5395
commit
32bfc5ad45
4 changed files with 21 additions and 3 deletions
18
.forgejo/workflows/molecule.yml
Normal file
18
.forgejo/workflows/molecule.yml
Normal 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
|
|
@ -4,10 +4,9 @@ extends: default
|
|||
ignore: |
|
||||
.kitchen*
|
||||
vendor/
|
||||
test/
|
||||
.forgejo/
|
||||
|
||||
rules:
|
||||
line-length:
|
||||
max: 120
|
||||
level: warning
|
||||
truthy: false
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
[](https://code.waks.be/nishiki/ansible-role-bind/releases)
|
||||
[](https://code.waks.be/nishiki/ansible-role-bind/src/branch/main/LICENSE)
|
||||
[](https://code.waks.be/nishiki/ansible-role-bind/actions?workflow=molecule.yml)
|
||||
|
||||
Install and configure bind with dnssec
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue