forked from mesaguy/ansible-prometheus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
- block: | ||
- name: Include role mesaguy.prometheus setup task | ||
include_tasks: _setup.yml | ||
when: prometheus_setup_task_executed is not defined | ||
|
||
- name: Starting postfix_exporter (kumina) install | ||
set_fact: | ||
prometheus_exporter: true | ||
prometheus_software_allow_build_test: true | ||
prometheus_software_author: kumina | ||
prometheus_software_binary_name: postfix_exporter | ||
prometheus_software_officialname: postfix_exporter_kumina | ||
prometheus_software_name: postfix_exporter_kumina | ||
prometheus_software_description: 'Prometheus postfix_exporter (kumina), exporter of postfix metrics' | ||
prometheus_software_documentation: 'https://github.com/kumina/postfix_exporter' | ||
prometheus_software_service_test: '{{ prometheus_postfix_exporter_kumina_service_test | default(true) }}' | ||
|
||
- name: Include task to setup {{ prometheus_software_name }} facts | ||
include_tasks: _setup_software_facts.yml | ||
|
||
- name: Set {{ prometheus_software_name_version }} facts | ||
set_fact: | ||
prometheus_software_opts: | ||
- '-web.listen-address={{ prometheus_software_host }}:{{ prometheus_software_port }}' | ||
|
||
- name: Include task to perform installation of {{ prometheus_software_name_version }} | ||
include_tasks: _install.yml | ||
|
||
- name: Include task to setup {{ prometheus_software_name_version }} service | ||
include_tasks: _service.yml | ||
|
||
- name: Include task to perform post install cleanup of {{ prometheus_software_name_version }} | ||
include_tasks: _post_install_cleanup.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
- block: | ||
- name: 'Include role mesaguy.prometheus setup task' | ||
include_tasks: _setup.yml | ||
when: prometheus_setup_task_executed is not defined | ||
|
||
- name: Starting raspberry_exporter (DerKnerd) install | ||
set_fact: | ||
prometheus_exporter: true | ||
prometheus_software_allow_build_test: true | ||
prometheus_software_author: DerKnerd | ||
prometheus_software_binary_name: raspberry_exporter | ||
prometheus_software_name: raspberry-exporter_DerKnerd | ||
prometheus_software_description: 'Prometheus raspberry_exporter (DerKnerd), simple wrapper around the vcgencmd executable on Raspberry PIs' | ||
prometheus_software_documentation: 'https://github.com/DerKnerd/raspberry-exporter' | ||
prometheus_software_use_prerelease: true | ||
|
||
- name: Include task to setup {{ prometheus_software_name }} facts | ||
include_tasks: _setup_software_facts.yml | ||
|
||
- name: Set {{ prometheus_software_name_version }} facts | ||
set_fact: | ||
prometheus_software_opts: | ||
- '--telemetry.address={{ prometheus_software_host }}:{{ prometheus_software_port }}' | ||
|
||
- name: Include task to perform installation of {{ prometheus_software_name_version }} | ||
include_tasks: _install.yml | ||
|
||
- name: Include task to setup {{ prometheus_software_name_version }} service | ||
include_tasks: _service.yml | ||
|
||
- name: Include task to perform post install cleanup of {{ prometheus_software_name_version }} | ||
include_tasks: _post_install_cleanup.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
- block: | ||
- name: Include role mesaguy.prometheus setup task | ||
include_tasks: _setup.yml | ||
when: prometheus_setup_task_executed is not defined | ||
|
||
- name: Starting syslog_ng_exporter (brandond) install | ||
set_fact: | ||
prometheus_exporter: true | ||
prometheus_software_allow_build_test: true | ||
prometheus_software_author: brandond | ||
prometheus_software_binary_name: syslog_ng_exporter | ||
prometheus_software_name: syslog_ng_exporter_brandond | ||
prometheus_software_description: 'Prometheus syslog_ng_exporter for exporting syslog-ng statistics' | ||
prometheus_software_documentation: 'https://github.com/brandond/syslog_ng_exporter' | ||
|
||
- name: Include task to setup {{ prometheus_software_name }} facts | ||
include_tasks: _setup_software_facts.yml | ||
|
||
- name: Set {{ prometheus_software_name_version }} facts | ||
set_fact: | ||
prometheus_software_config_name: '{{ prometheus_software_name }}' | ||
prometheus_software_opts: | ||
- '--telemetry.address={{ prometheus_software_host }}:{{ prometheus_software_port }}' | ||
|
||
- name: Include task to perform installation of {{ prometheus_software_name_version }} | ||
include_tasks: _install.yml | ||
|
||
- name: Include task to setup {{ prometheus_software_name_version }} service | ||
include_tasks: _service.yml | ||
|
||
- name: Include task to perform post install cleanup of {{ prometheus_software_name_version }} | ||
include_tasks: _post_install_cleanup.yml |