|
| 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 |
0 commit comments