Add matrix_prometheus_nginxlog_exporter_container_network

This commit is contained in:
Slavi Pantaleev
2023-03-20 17:04:23 +02:00
parent ade312e6f6
commit 21c2bbb11f
3 changed files with 8 additions and 1 deletions

View File

@ -30,6 +30,11 @@
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
- name: Ensure prometheus-nginxlog-exporter container network is created
community.general.docker_network:
name: "{{ matrix_prometheus_nginxlog_exporter_container_network }}"
driver: bridge
- name: Ensure matrix-prometheus-nginxlog-exporter.service installed
ansible.builtin.template:
src: "{{ role_path }}/templates/systemd/matrix-prometheus-nginxlog-exporter.service.j2"