Skip to content
This repository was archived by the owner on Aug 21, 2022. It is now read-only.

Commit 6129b61

Browse files
committed
docs: update readme
1 parent f0be945 commit 6129b61

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

README.md

+22-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,25 @@ StackHead module for using Nginx as webserver.
44

55
## Installation
66

7-
TBD
7+
Install it via `ansible-galaxy`:
8+
9+
```
10+
ansible-galaxy install getstackhead.stackhead_module_webserver_nginx
11+
```
12+
13+
In order to use Nginx with [StackHead](https://get.stackhead.io), set `stackhead__webserver` it in your inventory file:
14+
15+
```yaml
16+
# inventory for integration test
17+
---
18+
all:
19+
vars:
20+
# Use Nginx as webserver
21+
stackhead__webserver: getstackhead.stackhead_module_webserver_nginx
22+
hosts:
23+
myserver:
24+
ansible_host: 123.456.789 # ...
25+
stackhead:
26+
applications:
27+
# ...
28+
```

0 commit comments

Comments
 (0)