Skip to content

Commit

Permalink
fix: plugins could not be deployed
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreyvanwyk committed Feb 2, 2024
1 parent 9fc1c6d commit 4b8ccad
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ jobs:
run: pip3 install ansible

- name: Install playbooks dependencies
run: ansible-galaxy role install --role-file requirements.yml
run: |
ansible-galaxy role install --role-file requirements.yml
ansible-galaxy collection install --role-file requirements.yml
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/reset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
##

name: Reset
on: # yamllint disable-line rule:truthy
on: # yamllint disable-line rule:truthy
schedule:
- cron: '30 * * * *'
- cron: "30 * * * *"

jobs:
ansible-playbook:
Expand All @@ -45,7 +45,9 @@ jobs:
run: pip3 install ansible

- name: Install playbooks dependencies
run: ansible-galaxy role install --role-file requirements.yml
run: |
ansible-galaxy role install --role-file requirements.yml
ansible-galaxy collection install --role-file requirements.yml
- name: Install SSH key.
uses: shimataro/ssh-key-action@v2
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/uninstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
##

name: Uninstall
on: workflow_dispatch # yamllint disable-line rule:truthy
on: workflow_dispatch # yamllint disable-line rule:truthy

jobs:
ansible-playbook:
Expand All @@ -42,7 +42,9 @@ jobs:
run: pip3 install --requirement requirements.txt

- name: Install playbooks dependencies
run: ansible-galaxy role install --role-file requirements.yml
run: |
ansible-galaxy role install --role-file requirements.yml
ansible-galaxy collection install --role-file requirements.yml
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode/settings.json
ansible.log
/inventory.ini
.null-ls_*

0 comments on commit 4b8ccad

Please sign in to comment.