From 7b1d4ba4d19fd84e0e8f26c0f3fcfda7dceffa27 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Wed, 13 Dec 2023 20:56:13 -0500 Subject: [PATCH] update exclusions to run against our collection; intial pass - lots of linting issues! --- .gitea/workflows/ansible-test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ansible-test.yml b/.gitea/workflows/ansible-test.yml index 42c32cd..0b0fa42 100644 --- a/.gitea/workflows/ansible-test.yml +++ b/.gitea/workflows/ansible-test.yml @@ -1,5 +1,5 @@ name: Ansible Code Pipeline -run-name: ${{ gitea.actor }} is tesing Ansible with Gitea Actions +run-name: ${{ gitea.actor }} is running Ansible Code Pipeline on: push: branches: @@ -21,13 +21,16 @@ jobs: ansible --version ansible-lint --version - - name: Ansible Galaxy Requirements Install + - name: Install Ansible Galaxy Dependencies run: | ansible-galaxy install -r requirements.yml - name: Run Ansible-Lint run: | - ansible-lint --offline --exclude collections/ansible_collections --exclude .gitea + ansible-lint --offline \ + --exclude collections/ansible_collections/ansible* \ + --exclude collections/ansible_collections/community* \ + --exclude .gitea - name: Run Ansible-Playbook run: |