diff options
| -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 |
