You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
518 B
YAML
21 lines
518 B
YAML
---
|
|
|
|
### tags:
|
|
|
|
- name: "Deploy service templates for {{ inventory_hostname }}"
|
|
include_role:
|
|
name: _deploy
|
|
tasks_from: templates
|
|
vars:
|
|
current_config: "prometheus"
|
|
current_base_path: "{{ service_base_path }}"
|
|
current_destination: "{{ inventory_hostname }}"
|
|
current_owner: "{{ docker_owner }}"
|
|
current_group: "{{ docker_group }}"
|
|
|
|
- name: "Reload prometheus configuration"
|
|
uri:
|
|
url: "{{ http_s }}://{{ prometheus_id }}.{{ domain }}/-/reload"
|
|
method: POST
|
|
status_code: 200
|