initial: create ansible role

This commit is contained in:
2022-08-01 10:22:00 +07:00
commit ab7a3ac46d
11 changed files with 165 additions and 0 deletions

39
README.md Normal file
View 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