Refactor everything
This commit is contained in:
parent
2e100d290f
commit
3f2e60becf
69 changed files with 366 additions and 281 deletions
_ansible/roles/telegraf/tasks
|
@ -1,8 +1,12 @@
|
|||
---
|
||||
- name: Set common facts
|
||||
ansible.builtin.import_tasks: tasks/set-default-facts.yml
|
||||
|
||||
- name: Deploy {{ svc.name }}
|
||||
tags:
|
||||
- telegraf
|
||||
- monitoring
|
||||
vars:
|
||||
svc: "{{ telegraf_svc }}"
|
||||
env: "{{ telegraf_env }}"
|
||||
compose: "{{ telegraf_compose }}"
|
||||
block:
|
||||
- name: Import prepare tasks for common service
|
||||
ansible.builtin.import_tasks: tasks/prepare-common-service.yml
|
||||
|
|
Reference in a new issue