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]