From a5d3a387ca64883c4ea990799d30f56e8074d439 Mon Sep 17 00:00:00 2001 From: Simon Zernisch Date: Fri, 16 Jun 2023 19:22:48 +0200 Subject: [PATCH] install requirements on ansible server --- main.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/main.yml b/main.yml index 85890cf..04840f5 100644 --- a/main.yml +++ b/main.yml @@ -1,10 +1,21 @@ --- +- name: Install required Pip modules + hosts: localhost + become: true + tasks: + - name: Install proxmoxer and requests modules + pip: + name: + - proxmoxer + - requests + state: present + - name: Create VM from template, update the ip and hardware, resize the disk, hosts: all gather_facts: false vars_files: - vars/proxmox.yml - - defaults/vm_sizing.yml + - defaults/vm_sizing.yml tasks: - name: Create VM from template