No description
| defaults | ||
| meta | ||
| tasks | ||
| .gitignore | ||
| README.md | ||
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