2021-01-18 10:47:52 +01:00
|
|
|
---
|
2020-08-28 14:01:22 +02:00
|
|
|
name: Ansible Lint check
|
|
|
|
|
2021-01-18 10:47:52 +01:00
|
|
|
# yamllint disable-line rule:truthy
|
2021-03-12 22:18:54 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: '*'
|
|
|
|
pull_request:
|
|
|
|
branches: '*'
|
|
|
|
schedule:
|
|
|
|
- cron: '42 6 * */1 *'
|
2020-08-28 14:01:22 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-01-18 10:47:52 +01:00
|
|
|
- uses: actions/checkout@v2
|
2020-08-28 14:01:22 +02:00
|
|
|
|
2021-01-18 10:47:52 +01:00
|
|
|
- name: Lint Ansible Playbook
|
|
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
with:
|
|
|
|
targets: "."
|
|
|
|
# [required]
|
|
|
|
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
|
|
|
|
args: ""
|
|
|
|
# [optional]
|