Skip to content

Commit 76e61cf

Browse files
author
Mesaguy
committed
Merge branch 'twelve'
2 parents 3fce2b9 + db52284 commit 76e61cf

3 files changed

+100
-0
lines changed

tasks/wip/postfix_exporter_kumina.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
- block:
3+
- name: Include role mesaguy.prometheus setup task
4+
include_tasks: _setup.yml
5+
when: prometheus_setup_task_executed is not defined
6+
7+
- name: Starting postfix_exporter (kumina) install
8+
set_fact:
9+
prometheus_exporter: true
10+
prometheus_software_allow_build_test: true
11+
prometheus_software_author: kumina
12+
prometheus_software_binary_name: postfix_exporter
13+
prometheus_software_officialname: postfix_exporter_kumina
14+
prometheus_software_name: postfix_exporter_kumina
15+
prometheus_software_description: 'Prometheus postfix_exporter (kumina), exporter of postfix metrics'
16+
prometheus_software_documentation: 'https://github.com/kumina/postfix_exporter'
17+
prometheus_software_service_test: '{{ prometheus_postfix_exporter_kumina_service_test | default(true) }}'
18+
19+
- name: Include task to setup {{ prometheus_software_name }} facts
20+
include_tasks: _setup_software_facts.yml
21+
22+
- name: Set {{ prometheus_software_name_version }} facts
23+
set_fact:
24+
prometheus_software_opts:
25+
- '-web.listen-address={{ prometheus_software_host }}:{{ prometheus_software_port }}'
26+
27+
- name: Include task to perform installation of {{ prometheus_software_name_version }}
28+
include_tasks: _install.yml
29+
30+
- name: Include task to setup {{ prometheus_software_name_version }} service
31+
include_tasks: _service.yml
32+
33+
- name: Include task to perform post install cleanup of {{ prometheus_software_name_version }}
34+
include_tasks: _post_install_cleanup.yml
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
- block:
3+
- name: 'Include role mesaguy.prometheus setup task'
4+
include_tasks: _setup.yml
5+
when: prometheus_setup_task_executed is not defined
6+
7+
- name: Starting raspberry_exporter (DerKnerd) install
8+
set_fact:
9+
prometheus_exporter: true
10+
prometheus_software_allow_build_test: true
11+
prometheus_software_author: DerKnerd
12+
prometheus_software_binary_name: raspberry_exporter
13+
prometheus_software_name: raspberry-exporter_DerKnerd
14+
prometheus_software_description: 'Prometheus raspberry_exporter (DerKnerd), simple wrapper around the vcgencmd executable on Raspberry PIs'
15+
prometheus_software_documentation: 'https://github.com/DerKnerd/raspberry-exporter'
16+
prometheus_software_use_prerelease: true
17+
18+
- name: Include task to setup {{ prometheus_software_name }} facts
19+
include_tasks: _setup_software_facts.yml
20+
21+
- name: Set {{ prometheus_software_name_version }} facts
22+
set_fact:
23+
prometheus_software_opts:
24+
- '--telemetry.address={{ prometheus_software_host }}:{{ prometheus_software_port }}'
25+
26+
- name: Include task to perform installation of {{ prometheus_software_name_version }}
27+
include_tasks: _install.yml
28+
29+
- name: Include task to setup {{ prometheus_software_name_version }} service
30+
include_tasks: _service.yml
31+
32+
- name: Include task to perform post install cleanup of {{ prometheus_software_name_version }}
33+
include_tasks: _post_install_cleanup.yml
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
- block:
3+
- name: Include role mesaguy.prometheus setup task
4+
include_tasks: _setup.yml
5+
when: prometheus_setup_task_executed is not defined
6+
7+
- name: Starting syslog_ng_exporter (brandond) install
8+
set_fact:
9+
prometheus_exporter: true
10+
prometheus_software_allow_build_test: true
11+
prometheus_software_author: brandond
12+
prometheus_software_binary_name: syslog_ng_exporter
13+
prometheus_software_name: syslog_ng_exporter_brandond
14+
prometheus_software_description: 'Prometheus syslog_ng_exporter for exporting syslog-ng statistics'
15+
prometheus_software_documentation: 'https://github.com/brandond/syslog_ng_exporter'
16+
17+
- name: Include task to setup {{ prometheus_software_name }} facts
18+
include_tasks: _setup_software_facts.yml
19+
20+
- name: Set {{ prometheus_software_name_version }} facts
21+
set_fact:
22+
prometheus_software_config_name: '{{ prometheus_software_name }}'
23+
prometheus_software_opts:
24+
- '--telemetry.address={{ prometheus_software_host }}:{{ prometheus_software_port }}'
25+
26+
- name: Include task to perform installation of {{ prometheus_software_name_version }}
27+
include_tasks: _install.yml
28+
29+
- name: Include task to setup {{ prometheus_software_name_version }} service
30+
include_tasks: _service.yml
31+
32+
- name: Include task to perform post install cleanup of {{ prometheus_software_name_version }}
33+
include_tasks: _post_install_cleanup.yml

0 commit comments

Comments
 (0)