Skip to content

nahsi/ansible-promtail

Repository files navigation

promtail

Install, configure and maintain promtail

Role Philosophy

Please see ansible-consul.

Role Variables

See defaults/ for details and examples.

promtail_version

  • version to use

promtail_dirs

  • a map of directories to create
  • default:
promtail_dir: "/opt/promtail"
promtail_dirs:
  main:
    path: "{{ promtail_dir }}"
  logs:
    path: "/var/log/promtail"

promtail_config

promtail_user

  • owner of promtail process and files
  • default: promtail

promtail_group

  • group of promtail_user
  • default: promtail

promtail_download_url

  • url to get promtail archive from
  • default: https://releases.hashicorp.com

promtail_service

promtail_unitfile

skip_handlers

  • skip restart/reload - useful when building images with Packer
  • default: false

Tags

  • config - update promtail unit/service file and sync configuration files

Author

  • Anatoly Laskaris - nahsi