websoft9/apps/roles/elk/vars/main.yml
2022-06-30 15:44:57 +08:00

19 lines
550 B
YAML

# global
region: "0"
common_install_docker: True
nginx_vhost_mode: "reverse"
nginx_reverse_proxy_port: "9001"
nginx_appname: "ELK"
init_docker:
elk:
admin_username: elastic
admin_password: "elastic123"
service_after: "docker.service"
compose_path: "/data/apps/elk/docker-compose.yml"
compose_commands:
- sudo sed -i "s/elastic123/$new_password/g" `grep 'elastic123' /data/apps/elk/.env -rnl`
- sudo sed -i "s/elastic123/$new_password/g" `grep 'elastic123' /data/apps/elk/src/logstash/pipeline/logstash.conf -rnl`