Skip to content
This repository has been archived by the owner on May 17, 2022. It is now read-only.

Commit

Permalink
tests: add requirements file
Browse files Browse the repository at this point in the history
  • Loading branch information
saitho committed Aug 24, 2020
1 parent 912f2f6 commit e7cedba
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: pip install -r ./requirements/pip.txt
- run: ansible-playbook ./__tests__/test-tf-generation.yml
release:
needs: test
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

StackHead module for using Caddy as webserver.

## System requirements

The following software is required to use this module:

* Python modules
* passlib
* bcrypt

## Installation

Install it via `ansible-galaxy`:
Expand All @@ -10,14 +18,13 @@ Install it via `ansible-galaxy`:
ansible-galaxy install getstackhead.stackhead_webserver_caddy
```

In order to use Nginx with [StackHead](https://get.stackhead.io), set `stackhead__webserver` it in your inventory file:
In order to use Caddy with [StackHead](https://get.stackhead.io), set `stackhead__webserver` it in your inventory file:

```yaml
# inventory for integration test
---
all:
vars:
# Use Nginx as webserver
# Use Caddy as webserver
stackhead__webserver: getstackhead.stackhead_webserver_caddy
hosts:
myserver:
Expand Down
2 changes: 2 additions & 0 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
passlib
bcrypt

0 comments on commit e7cedba

Please sign in to comment.