From 8289e7311920546700074ce8f8b21e17c1618b5d Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 11 Dec 2025 21:10:06 +0100 Subject: [PATCH] =?UTF-8?q?chore=20=F0=9F=93=A6:=20Setup=20PVE-mods=20depe?= =?UTF-8?q?ndencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit sets up the necessary environment for PVE-mods, including installing required packages and cloning the project repository. This ensures a clean and functional setup for further development or modification of the PVE-mods project. The changes focus on the build process and dependencies. --- tasks/proxmox.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 tasks/proxmox.yml diff --git a/tasks/proxmox.yml b/tasks/proxmox.yml new file mode 100644 index 0000000..750f580 --- /dev/null +++ b/tasks/proxmox.yml @@ -0,0 +1,32 @@ +- name: Deploy VM templates + hosts: proxmox + + tasks: + - name: Install proxmoxer from APT + ansible.builtin.apt: + name: python3-proxmoxer + state: present + update_cache: yes + + - name: Install lm-sensors from APT + ansible.builtin.apt: + name: lm-sensors + state: present + + - name: Clone PVE-mods repository + ansible.builtin.git: + repo: "https://github.com/Meliox/PVE-mods.git" + dest: "/opt/PVE-mods" + version: "main" + update: yes + + - name: Install pve-mod-gui-sensors.sh + ansible.builtin.copy: + src: "/opt/PVE-mods/pve-mod-gui-sensors.sh" + dest: "/usr/local/bin/pve-mod-gui-sensors.sh" + mode: "0755" + + - name: Run script with predefined input + ansible.builtin.shell: | + printf "a\nC\nN\n2\n" | /usr/local/bin/pve-mod-gui-sensors.sh + \ No newline at end of file