buluma.vector

Ansible Role: Vector

This document describes the Vector role for Ansible, which is used for managing Vector installations.

GitHub Version Issues Pull Requests Downloads
GitHub Version Issues Pull Requests Ansible Role

Example Playbook

Here's a simple playbook example that uses the Vector role:

---
- name: Converge
  hosts: all
  gather_facts: false
  roles:
    - role: buluma.vector

Preparing the Machine

To prepare the machine, use the following playbook:

---
- name: Prepare
  hosts: all
  become: true
  gather_facts: false

  roles:
    - role: buluma.bootstrap
    - role: buluma.ca_certificates

You can refer to a detailed explanation on how to use these roles.

Role Variables

Default values for the variables can be found in defaults/main.yml:

---
vector_version: "0.29.1"
vector_package_architecture: amd64
vector_deb_package: "https://packages.timber.io/vector/{{ vector_version }}/vector_{{ vector_version }}-1_{{ vector_package_architecture }}.deb"
vector_force_reinstall: false
vector_exec_name: vector
vector_env_path: "/etc/default/vector"
vector_bin_path: "/usr/bin/{{ vector_exec_name }}"
vector_config_path: "/etc/vector"
vector_documentation_link: "https://vector.dev/docs/about/what-is-vector/"
vector_user: vector
vector_group: vector
vector_service_enabled: true
vector_service_state: started
vector_log_output: journal
vector_config_template_path: "templates/config/"
vector_service_template_path: "vector.service.j2"
vector_configs_folder: "{{ vector_config_path }}"
vector_data_dir: "/var/lib/vector"

Requirements

You need the pip packages listed in requirements.txt.

Preparing the System

To set up your system, the following roles are used:

Requirement GitHub Version
buluma.bootstrap Ansible Molecule Version
buluma.ca_certificates Ansible Molecule Version

Compatibility

This role has been tested on the following container images:

Container Tags
Debian all
Ubuntu all

The minimum required Ansible version is 2.12. Tests have been conducted on previous, current, and development versions.

If you encounter any issues, please report them on GitHub.

Changelog

You can view the role history here.

License

This project is licensed under Apache-2.0.

Author Information

This role was created by Shadow Walker.

Informazioni sul progetto

Vector Role

Installa
ansible-galaxy install buluma.vector
Licenza
apache-2.0
Download
16.5k
Proprietario
DevOps Engineer