invisible char remove

This commit is contained in:
Ludovic Cartier 2024-04-24 18:11:16 +02:00
parent 52b7b73a25
commit e46839c397
2 changed files with 4 additions and 4 deletions

View File

@ -9,20 +9,20 @@
- name: 'proxmox exporter | create dedicated venv path'
file:
path: "{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"
path: "{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"
state: directory
tags: ['prometheus_proxmox']
- name: 'proxmox exporter | create dedicated venv'
command:
cmd: python3 -m venv "{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"
cmd: python3 -m venv "{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"
tags: ['prometheus_proxmox']
- name: 'proxmox exporter | install package through pip3'
pip:
name:
- prometheus-pve-exporter
venv: "{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"
venv: "{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"
tags: ['prometheus_proxmox']
- name: 'proxmox exporter | configuration'

View File

@ -5,6 +5,6 @@ Wants=network.target
[Service]
Restart=on-failure
ExecStart="{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"/bin/pve_exporter --config.file /etc/default/prometheus-proxmox-exporter --web.listen-address {{ prometheus_proxmox_exporter_node }}:{{ prometheus_proxmox_exporter_port | default('9221') }}
ExecStart="{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"/bin/pve_exporter --config.file /etc/default/prometheus-proxmox-exporter --web.listen-address {{ prometheus_proxmox_exporter_node }}:{{ prometheus_proxmox_exporter_port | default('9221') }}
[Install]
WantedBy=multi-user.target