install requirements on ansible server

This commit is contained in:
2023-06-16 19:22:48 +02:00
parent a65387e536
commit a5d3a387ca

View File

@@ -1,4 +1,15 @@
--- ---
- 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, - name: Create VM from template, update the ip and hardware, resize the disk,
hosts: all hosts: all
gather_facts: false gather_facts: false