feat(podman_prometheus): add hostname labels to targets
Some checks failed
Ansible Lint Check / lint (push) Failing after 1m2s
Some checks failed
Ansible Lint Check / lint (push) Failing after 1m2s
This commit is contained in:
parent
c404d08b89
commit
0d92344f16
7 changed files with 74 additions and 79 deletions
|
|
@ -23,6 +23,14 @@
|
|||
become: true
|
||||
become_user: "{{ podman_prometheus_podman_rootless_user }}"
|
||||
|
||||
- name: Restart Prometheus-TS
|
||||
ansible.builtin.systemd_service:
|
||||
name: prometheus-ts
|
||||
scope: user
|
||||
state: restarted
|
||||
become: true
|
||||
become_user: "{{ podman_prometheus_podman_rootless_user }}"
|
||||
|
||||
- name: Restart nginx
|
||||
ansible.builtin.systemd_service:
|
||||
name: nginx
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue