Skip to content

Commit

Permalink
feature: use role
Browse files Browse the repository at this point in the history
  • Loading branch information
pgalonza committed Jan 14, 2025
1 parent 22b39d1 commit 5fe2a31
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
python-version: 3.x
- name: Install Molecule dependencies
run: pip3 install -r ./extensions/molecule/requirements.txt
- name: Install requirements
run: ansible-galaxy install -r ./requirements.yml
- name: Install collection
run: ansible-galaxy collection install ./
- name: Run Molecule tests
Expand Down
5 changes: 5 additions & 0 deletions requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
roles:
- name: nginxinc.nginx
version: 0.25.0
...
2 changes: 1 addition & 1 deletion roles/nginx/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ galaxy_info:
- nginx

dependencies:
- role: nginxinc.nginx_core.nginx
- role: nginxinc.nginx

0 comments on commit 5fe2a31

Please sign in to comment.