From d9a49ecbcf08821c3eb3a2ac1392cdba0bf27383 Mon Sep 17 00:00:00 2001 From: L3D Date: Wed, 6 Apr 2022 22:28:32 +0200 Subject: [PATCH] Adding centos9 check --- .github/workflows/ansible-centos-centos9.yml | 20 ++++++++++++++++++++ .github/workflows/ansible-linting-check.yml | 6 +----- 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/ansible-centos-centos9.yml diff --git a/.github/workflows/ansible-centos-centos9.yml b/.github/workflows/ansible-centos-centos9.yml new file mode 100644 index 0000000..93cd57b --- /dev/null +++ b/.github/workflows/ansible-centos-centos9.yml @@ -0,0 +1,20 @@ +--- +name: Ansible check centos:stream9 # feel free to pick your own name + +# yamllint disable-line rule:truthy +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + # Important: This sets up your GITHUB_WORKSPACE environment variable + - name: checkout git repo + uses: actions/checkout@v3 + + - name: ansible check with quay.io/centos/centos:stream9 + # optionally replace "main" with any valid git ref + uses: roles-ansible/check-ansible-centos-centos9-action@main + with: + targets: "./" diff --git a/.github/workflows/ansible-linting-check.yml b/.github/workflows/ansible-linting-check.yml index ab63487..0b743f7 100644 --- a/.github/workflows/ansible-linting-check.yml +++ b/.github/workflows/ansible-linting-check.yml @@ -17,10 +17,6 @@ jobs: - uses: actions/checkout@v2 - name: Lint Ansible Playbook - uses: ansible/ansible-lint-action@master + uses: ansible/ansible-lint-action@v6 with: targets: "." - # [required] - # Paths to ansible files (i.e., playbooks, tasks, handlers etc..) - args: "" - # [optional]