feat: add task to ensure passlib is installed on the ansible controller
This commit is contained in:
@@ -15,6 +15,15 @@
|
|||||||
run_once: true
|
run_once: true
|
||||||
become: false
|
become: false
|
||||||
|
|
||||||
|
- name: "[PREFLIGHT] Ensure passlib is installed"
|
||||||
|
ansible.builtin.pip:
|
||||||
|
name: passlib
|
||||||
|
state: present
|
||||||
|
executable: "{{ controller_python | dirname }}/pip"
|
||||||
|
delegate_to: localhost
|
||||||
|
run_once: true
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: "[PREFLIGHT] Check if running on Proxmox host"
|
- name: "[PREFLIGHT] Check if running on Proxmox host"
|
||||||
ansible.builtin.stat:
|
ansible.builtin.stat:
|
||||||
path: "/etc/pve/nodes"
|
path: "/etc/pve/nodes"
|
||||||
|
|||||||
Reference in New Issue
Block a user