install requirements on ansible server
This commit is contained in:
11
main.yml
11
main.yml
@@ -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,
|
||||
hosts: all
|
||||
gather_facts: false
|
||||
|
||||
Reference in New Issue
Block a user