Skip to content

Commit

Permalink
Added ansible requirements and updated ansible-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanealV authored Sep 9, 2023
1 parent 0f17b16 commit 8e3a109
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Run ansible-lint
uses: ansible-community/ansible-lint-action@main
uses: ansible/ansible-lint@main
run-ansible-playbook:
runs-on: ubuntu-latest
needs: [lint-playbook]
Expand All @@ -39,4 +39,5 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Run Ansible Playbook
run: |
ansible-playbook -i inventory playbook.yml
ansible-galaxy install -r requirements.yml &&
ansible-playbook -v -i inventory playbook.yml
3 changes: 3 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
collections:
- name: community.docker

Check failure on line 3 in requirements.yml

View workflow job for this annotation

GitHub Actions / lint-playbook

yaml[new-line-at-end-of-file]

No new line character at the end of file

0 comments on commit 8e3a109

Please sign in to comment.