From 5b76ff35fafe92a9fc3887ff1b160e740367eb22 Mon Sep 17 00:00:00 2001 From: cradle8810 Date: Mon, 22 Apr 2024 01:49:27 +0900 Subject: [PATCH] Add ansible-lint --- .github/workflows/lints.yml | 9 +++++++++ requirements.txt | 1 + 2 files changed, 10 insertions(+) create mode 100644 requirements.txt diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index fbccd15..5510ad8 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -15,3 +15,12 @@ jobs: - name: Run YAML Lint run: yamllint --strict --format github . + + AnsibleLint: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run Ansible-lint + uses: ansible/ansible-lint diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..6dd128e --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +ansible-lint