No description
Find a file
2025-10-06 22:43:46 +00:00
defaults update common format 2025-10-06 22:43:46 +00:00
meta victoria logs deployment 2024-10-03 01:31:04 +00:00
tasks update common format 2025-10-06 22:43:46 +00:00
.gitignore update common format 2025-10-06 22:43:46 +00:00
README.md victoria logs deployment 2024-10-03 01:31:04 +00:00

ansible-roles-victoria-metrics

This role will deploy a podman based deployment for the single binary version of victoria-logs

Task Configuration

- name: Setup victoria-logs
  hosts: somehost
  become: true
  roles:
    - role: victoria-logs
    - role: firewalld
      firewalld_add:
        - name: public
          ports:
            - 8428/tcp

Deployment and Removal

Sometimes you need to manually stop the running containers to get a clean run when re-deploying Services must be stopped as the respecitve user or another means to aquire the correct user scope for systemd

systemctl --user stop container-victoria-logs.service

Deploy

ansible-playbook -i hosts site.yml --tags=firewalld,victoria-logs --limit=somehost

Remove

ansible-playbook -i hosts site.yml --tags=firewalld,victoria-logs --extra-vars "container_state=absent firewall_action=remove" --limit=somehost