feat(actions): Adds actions & lint (#1)
All checks were successful
Master branch: build & lint / build (push) Successful in 1m0s

Adds an action to perform some linting actions on ansible and the yaml files, both on push onto master and on pull requests

Reviewed-on: #1
This commit is contained in:
Thomas Maurice 2024-02-20 17:46:29 +00:00
parent 9dc88072d5
commit 93bb0b0742
18 changed files with 306 additions and 39 deletions

View file

@ -1,6 +1,7 @@
---
# Standard variables
os: "{{ ansible_system|lower }}"
os: "{{ ansible_system | lower }}"
# yamllint disable-line rule:line-length
arch: "{% if ansible_architecture == 'aarch64' %}arm64{% elif ansible_architecture == 'amd64' or ansible_architecture == 'x86_64' %}amd64{% elif ansible_architecture == 'armhf' %}armhf{% else %}{{ ansible_architecture }}{% endif %}"
# Docker stuff