mirror of
https://github.com/Dannecron/netology-devops-ansible-lighthouse.git
synced 2025-12-25 21:42:34 +03:00
initial: create ansible role
This commit is contained in:
39
README.md
Normal file
39
README.md
Normal file
@@ -0,0 +1,39 @@
|
||||
ansible-lighthouse
|
||||
=========
|
||||
|
||||
Данный playbook устанавливает `lighthouse` (доступ через webserver `nginx`).
|
||||
|
||||
Requirements
|
||||
------------
|
||||
|
||||
None
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
|
||||
- `nginx_username` - имя пользователя, из-под которого будет запущен процесс `nginx`
|
||||
- `lighthouse_vcs` - путь до репозитория `lighthouse`
|
||||
- `lighthouse_vcs_version` - версия внутри репозитория `lighthouse` (хэш коммита)
|
||||
- `lighthouse_location` - путь до директории с `lighthouse`
|
||||
- `lighthouse_access_log_name` - название лог-файла `nginx` для web-сервиса `lighthouse`
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
None
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
|
||||
```yaml
|
||||
---
|
||||
- name: lighthouse
|
||||
hosts: lighthouse
|
||||
roles:
|
||||
- lighthouse
|
||||
```
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
BSD
|
||||
Reference in New Issue
Block a user