Added README for grafana
parent
a9781ab043
commit
f6b07304bc
|
|
@ -1,38 +1,24 @@
|
|||
Role Name
|
||||
=========
|
||||
# grafana
|
||||
|
||||
A brief description of the role goes here.
|
||||
## Описание роли
|
||||
|
||||
Requirements
|
||||
------------
|
||||
Эта роль предназначена для установки и настройки Grafana на целевой машине. Она скачивает нужный deb-пакет, устанавливает все необходимые зависимости, выполняет установку Grafana, а также настраивает и запускает сервис Grafana.
|
||||
|
||||
Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.
|
||||
## Требования
|
||||
|
||||
Role Variables
|
||||
--------------
|
||||
- Ansible версии 2.9 или выше
|
||||
- Операционная система на базе Debian (Ubuntu, Debian и другие)
|
||||
|
||||
A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
|
||||
## Переменные роли
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
Следующие переменные могут быть настроены в файле `vars/main.yml`, `defaults/main.yml` или переданы непосредственно в playbook:
|
||||
|
||||
A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.
|
||||
- `grafana_version`: Версия Grafana для установки. По умолчанию `"11.4.0"`.
|
||||
- `grafana_arch`: Архитектура системы для пакета Grafana. По умолчанию `"amd64"`.
|
||||
- `destination_directory`: Каталог для загрузки пакета. По умолчанию `"/home/user"`.
|
||||
|
||||
Example Playbook
|
||||
----------------
|
||||
Эти переменные можно изменить в соответствии с требованиями вашей системы.
|
||||
|
||||
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
|
||||
## Зависимости
|
||||
|
||||
- hosts: servers
|
||||
roles:
|
||||
- { role: username.rolename, x: 42 }
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
BSD
|
||||
|
||||
Author Information
|
||||
------------------
|
||||
|
||||
An optional section for the role authors to include contact information, or a website (HTML is not allowed).
|
||||
Нет.
|
||||
|
|
|
|||
Loading…
Reference in New Issue