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 | 0eb8d664bfffd44e85bb4df4a9f53742222aee37 (patch) | |
| tree | 798ef12f8c4963c4697162d5a2a660f0e2badd3c | |
| parent | aa40f52be8ca3662508bc20ce8345ce4f0845d0f (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 |
