Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

First use apt to check if proxmoxer is installed. #16

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions tasks/dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
---

# Verificar si python-pip está instalado en el nodo Proxmox
- name: Verify that python-pip is installed in the Proxmox node
- name: Ensure that proxmoxer is installed
ansible.builtin.apt:
name: python-pip
state: present
delegate_to: "{{ pve_api_host }}"

# Verificar si el módulo proxmoxer de python está instalado
- name: Verify if proxmoxer pip module is installed
ansible.builtin.pip:
name: proxmoxer
name: python3-proxmoxer
state: present
delegate_to: "{{ pve_api_host }}"

Expand Down