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' - name: 'proxmox exporter | create dedicated venv path'
file: 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 state: directory
tags: ['prometheus_proxmox'] tags: ['prometheus_proxmox']
- name: 'proxmox exporter | create dedicated venv' - name: 'proxmox exporter | create dedicated venv'
command: 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'] tags: ['prometheus_proxmox']
- name: 'proxmox exporter | install package through pip3' - name: 'proxmox exporter | install package through pip3'
pip: pip:
name: name:
- prometheus-pve-exporter - 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'] tags: ['prometheus_proxmox']
- name: 'proxmox exporter | configuration' - name: 'proxmox exporter | configuration'

View File

@ -5,6 +5,6 @@ Wants=network.target
[Service] [Service]
Restart=on-failure 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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target