mirror of
https://github.com/roles-ansible/ansible_role_versioncheck.git
synced 2024-08-16 15:59:49 +02:00
Start adding github actions
This commit is contained in:
parent
96905aaab0
commit
208d2461f7
5 changed files with 84 additions and 0 deletions
16
.github/workflows/ansible-debian-buster.yml
vendored
Normal file
16
.github/workflows/ansible-debian-buster.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Ansible check debian:buster
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: ansible check with debian:buster
|
||||||
|
uses: roles-ansible/check-ansible-debian-buster-action@master
|
||||||
|
with:
|
||||||
|
targets: "./"
|
16
.github/workflows/ansible-debian-sid.yml
vendored
Normal file
16
.github/workflows/ansible-debian-sid.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Ansible check debian:sid
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: ansible check with debian:sid
|
||||||
|
uses: roles-ansible/check-ansible-debian-sid-action@master
|
||||||
|
with:
|
||||||
|
targets: "./"
|
16
.github/workflows/ansible-debian-stable.yml
vendored
Normal file
16
.github/workflows/ansible-debian-stable.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Ansible check debian:stable
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: ansible check with debian:stable
|
||||||
|
uses: roles-ansible/check-ansible-debian-stable-action@master
|
||||||
|
with:
|
||||||
|
targets: "./"
|
16
.github/workflows/ansible-debian-stretch.yml
vendored
Normal file
16
.github/workflows/ansible-debian-stretch.yml
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
name: Ansible check debian:stretch
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: ansible check with debian:stretch
|
||||||
|
uses: roles-ansible/check-ansible-debian-stretch-action@master
|
||||||
|
with:
|
||||||
|
targets: "./"
|
20
.github/workflows/ansible-linting-chek.yml
vendored
Normal file
20
.github/workflows/ansible-linting-chek.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Ansible Lint check
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- 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]
|
Loading…
Reference in a new issue