Skip to content

Commit

Permalink
Merge pull request #6 from roles-ansible/actions
Browse files Browse the repository at this point in the history
update github actions
  • Loading branch information
DO1JLR authored Apr 11, 2022
2 parents f12475b + cb6815f commit 6fbf3f2
Show file tree
Hide file tree
Showing 22 changed files with 90 additions and 75 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ansible-archlinux-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with archlinux:latest
- name: 'ansible check with archlinux:latest'
uses: roles-ansible/check-ansible-archlinux-latest-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-centos-centos7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with ubuntu:centos7
- name: 'ansible check with ubuntu:centos7'
uses: roles-ansible/check-ansible-centos-centos7-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-centos-centos8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with ubuntu:centos8
- name: 'ansible check with ubuntu:centos8'
uses: roles-ansible/check-ansible-centos-centos8-action@master
with:
targets: "./"
18 changes: 18 additions & 0 deletions .github/workflows/ansible-centos-centos9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Ansible check centos:stream9

# yamllint disable-line rule:truthy
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: 'ansible check with quay.io/centos/centos:stream9'
uses: roles-ansible/check-ansible-centos-centos9-action@main
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-centos-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with ubuntu:latest
- name: 'ansible check with ubuntu:latest'
uses: roles-ansible/check-ansible-centos-latest-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-debian-bullseye.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with debian:bullseye
- name: 'ansible check with debian:bullseye'
uses: roles-ansible/check-ansible-debian-bullseye-action@main
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-debian-buster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with debian:buster
- name: 'ansible check with debian:buster'
uses: roles-ansible/check-ansible-debian-buster-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-debian-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with debian:latest
- name: 'ansible check with debian:latest'
uses: roles-ansible/check-ansible-debian-latest-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-debian-sid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with debian:sid
- name: 'ansible check with debian:sid'
uses: roles-ansible/check-ansible-debian-sid-action@master
with:
targets: "./"
5 changes: 3 additions & 2 deletions .github/workflows/ansible-debian-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with debian:stable
- name: 'ansible check with debian:stable'
uses: roles-ansible/check-ansible-debian-stable-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-debian-stretch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with debian:stretch
- name: 'ansible check with debian:stretch'
uses: roles-ansible/check-ansible-debian-stretch-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-fedora-31.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with fedora:31
- name: 'ansible check with fedora:31'
uses: roles-ansible/check-ansible-fedora-31-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-fedora-32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with fedora:32
- name: 'ansible check with fedora:32'
uses: roles-ansible/check-ansible-fedora-32-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-fedora-33.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with fedora:33
- name: 'ansible check with fedora:33'
uses: roles-ansible/check-ansible-fedora-33-action@master
with:
targets: "./"
6 changes: 3 additions & 3 deletions .github/workflows/ansible-fedora-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with fedora:latest
- name: 'ansible check with fedora:latest'
uses: roles-ansible/check-ansible-fedora-latest-action@master
with:
targets: "./"
12 changes: 4 additions & 8 deletions .github/workflows/ansible-linting-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,13 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
- name: 'Lint Ansible Playbook'
uses: ansible/ansible-lint-action@v6
with:
targets: "."
# [required]
# Paths to ansible files (i.e., playbooks, tasks, handlers etc..)
args: ""
# [optional]
6 changes: 3 additions & 3 deletions .github/workflows/ansible-ubuntu-bionic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with ubuntu:bionic
- name: 'ansible check with ubuntu:bionic'
uses: roles-ansible/check-ansible-ubuntu-bionic-action@master
with:
targets: "./"
4 changes: 2 additions & 2 deletions .github/workflows/ansible-ubuntu-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with ubuntu:latest
uses: roles-ansible/check-ansible-ubuntu-latest-action@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ansible-ubuntu-trusty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: ansible check with ubuntu:trusty
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: galaxy
uses: robertdebock/galaxy-action@1.1.0
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: 'release on galaxy'
uses: robertdebock/galaxy-action@1.2.0
with:
galaxy_api_key: ${{ secrets.galaxy_api_key }}
git_branch: 'main'
7 changes: 4 additions & 3 deletions .github/workflows/yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ jobs:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'checkout git repo'
uses: actions/checkout@v3

- name: 'Yamllint'
uses: karancode/yamllint-github-action@master
uses: karancode/yamllint-github-action@v2.0.0
with:
yamllint_file_or_dir: '.'
yamllint_config_filepath: './.yamllint'
Loading

0 comments on commit 6fbf3f2

Please sign in to comment.