An open API service indexing awesome lists of open source software.

https://github.com/bsedin/ansible-nginx

Ansible role for dockerized nginx setup
https://github.com/bsedin/ansible-nginx

ansible ansible-role docker nginx

Last synced: about 2 months ago
JSON representation

Ansible role for dockerized nginx setup

Awesome Lists containing this project

README

          

# nginx ansible role

Create `./library` directory in your ansible project:

```
mkdir ./library
```

And configure `ansible.cfg`:

```
[defaults]
roles_path = ./library
```

Add submodule:

```
git submodule add git@github.com:kressh/ansible-nginx.git library/nginx
```

See `defaults/main.yml`

Use role:

```yaml
---
- hosts: yourserver.io
remote_user: ansible
become: true
roles:
- nginx
```