Add GitHub Action to lint Ansible playbooks

This commit is contained in:
Gene Liverman 2022-06-25 14:27:56 -04:00
parent 347ef17d7e
commit b6c4139be4
No known key found for this signature in database
GPG key ID: 3AF83985B6C857C6
2 changed files with 16 additions and 3 deletions

15
.github/workflows/ansible-lint.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: Ansible Lint
on:
pull_request:
jobs:
ansbile_linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run ansible-lint
uses: ansible-community/ansible-lint-action@main
with:
path: 'ansible/'

View file

@ -1,8 +1,6 @@
# dots # dots
[![Build Status](https://travis-ci.com/genebean/dots.svg?branch=master)](https://travis-ci.com/genebean/dots) [![Ansible Lint](https://github.com/genebean/dots/actions/workflows/ansible-lint.yml/badge.svg)](https://github.com/genebean/dots/actions/workflows/ansible-lint.yml)
[![Dependency Status](https://gemnasium.com/badges/github.com/genebean/dots.svg)](https://gemnasium.com/github.com/genebean/dots)
[![security](https://hakiri.io/github/genebean/dots/master.svg)](https://hakiri.io/github/genebean/dots/master)
My dot files and a tool to deploy them, and the programs that use them, to My dot files and a tool to deploy them, and the programs that use them, to
various OS's. Some additional tools that I consider part of my baseline setup various OS's. Some additional tools that I consider part of my baseline setup