Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ansible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ jobs:
with:
python-version: "3.12"

- name: Install ansible-lint
run: pip install ansible-lint
- name: Install dependencies
run: pip install ansible-lint boto3 botocore

- name: Install Ansible collections
run: ansible-galaxy collection install amazon.aws community.general

- name: Run ansible-lint
run: ansible-lint playbooks/site.yaml
working-directory: ansible
working-directory: ansible
env:
ANSIBLE_INVENTORY: inventory/ci_hosts # static inventory for CI
2 changes: 2 additions & 0 deletions ansible/inventory/ci_hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[all]
localhost ansible_connection=local
Loading