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
- Host: GitHub
- URL: https://github.com/bsedin/ansible-nginx
- Owner: bsedin
- License: mit
- Created: 2018-10-01T17:05:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-01-26T15:28:39.000Z (over 4 years ago)
- Last Synced: 2025-02-09T01:17:41.263Z (over 1 year ago)
- Topics: ansible, ansible-role, docker, nginx
- Language: Jinja
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```