add: logstash

This commit is contained in:
2024-11-23 17:51:05 +00:00
parent e2802f3c36
commit c34e6fc81d
5 changed files with 57 additions and 0 deletions

View File

@@ -78,6 +78,7 @@
- gitea
- gitea-runner
- atlantis-status
- logstash
- name: Copy AtlantisHub config
copy:
@@ -104,6 +105,29 @@
src: "grafana.ini"
dest: "/data/grafana/grafana.ini"
- name: create_logstash_data_dirs
file:
name: "/data/logstash/{{ item }}"
state: directory
with_items:
- "config"
- "pipeline"
- name: copy_logstash_config
template:
src: "{{ item }}"
dest: "/data/logstash/config/"
with_items:
- "logstash.yml"
- "pipelines.yml"
- name: copy_logstash_pipeline_config
template:
src: "{{ item }}"
dest: "/data/logstash/pipeline/"
with_items:
- "logstash.conf"
- name: copy_atlantis_status_services
template:
src: "{{ item }}.yaml"
@@ -141,6 +165,7 @@
- gitea
- gitea-runner
- atlantis-status
- logstash
- name: Copy compose templates
template:
@@ -170,6 +195,7 @@
- gitea
- gitea-runner
- atlantis-status
- logstash
- name: create sites-enabled dir
file: