proxmox - virtualenv instead of venv

This commit is contained in:
Ludovic Cartier 2024-04-24 18:14:08 +02:00
parent e46839c397
commit b0e49711cb

View File

@ -18,11 +18,11 @@
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 into a dedicated venv'
pip: pip:
name: name:
- prometheus-pve-exporter - prometheus-pve-exporter
venv: "{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}" virtualenv: "{{ prometheus_proxmox_venv_path | default('/opt/venv/prometheus-pve-exporter') }}"
tags: ['prometheus_proxmox'] tags: ['prometheus_proxmox']
- name: 'proxmox exporter | configuration' - name: 'proxmox exporter | configuration'