diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-01 00:25:04 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-01 00:25:04 +0200 |
| commit | ed7ee6e00f7c07f32f708212d49fab5d26eb2733 (patch) | |
| tree | 798ef12f8c4963c4697162d5a2a660f0e2badd3c | |
| parent | 5b94e868a41de9f90acb19fa1916bd26cd600d12 (diff) | |
Add proxmoxer dependency role
| -rw-r--r-- | molecule/proxmox/converge.yml | 1 | ||||
| -rw-r--r-- | roles/proxmoxer/meta/argument_specs.yml | 4 | ||||
| -rw-r--r-- | roles/proxmoxer/meta/main.yml | 11 | ||||
| -rw-r--r-- | roles/proxmoxer/tasks/main.yml | 8 |
4 files changed, 24 insertions, 0 deletions
diff --git a/molecule/proxmox/converge.yml b/molecule/proxmox/converge.yml index c8af9d75..52dcaba1 100644 --- a/molecule/proxmox/converge.yml +++ b/molecule/proxmox/converge.yml @@ -63,3 +63,4 @@ - role: "password_store" - role: "vim" - role: "restic" + - role: "proxmoxer" diff --git a/roles/proxmoxer/meta/argument_specs.yml b/roles/proxmoxer/meta/argument_specs.yml new file mode 100644 index 00000000..5af49897 --- /dev/null +++ b/roles/proxmoxer/meta/argument_specs.yml @@ -0,0 +1,4 @@ +--- +argument_specs: + main: + options: {} diff --git a/roles/proxmoxer/meta/main.yml b/roles/proxmoxer/meta/main.yml new file mode 100644 index 00000000..46a2690f --- /dev/null +++ b/roles/proxmoxer/meta/main.yml @@ -0,0 +1,11 @@ +--- +dependencies: [] +galaxy_info: + author: "a14m" + description: "Install proxmoxer Python library for Proxmox API access" + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "Debian" + versions: + - "bookworm" diff --git a/roles/proxmoxer/tasks/main.yml b/roles/proxmoxer/tasks/main.yml new file mode 100644 index 00000000..ece34d87 --- /dev/null +++ b/roles/proxmoxer/tasks/main.yml @@ -0,0 +1,8 @@ +--- +- name: "Install proxmoxer" + become: true + ansible.builtin.package: + name: + - "python3-proxmoxer" + - "python3-requests" + state: present |
