julien_lecomte / julien_lecomte.proxmox / 0.1.1 / module / proxmox_role Adds, modifies, or removes a Proxmox role. Authors: Julien Lecomte (julien@lecomte.at)julien_lecomte.proxmox.proxmox_role (0.1.1) — module
Install with ansible-galaxy collection install julien_lecomte.proxmox:==0.1.1
collections: - name: julien_lecomte.proxmox version: 0.1.1
Adds, modifies, or removes a Proxmox role.
- name: Create role foobar julien_lecomte.proxmox.proxmox_role: name: foobar privileges: - Pool.Allocate - Pool.Audit
name: description: - The role name. required: true type: str state: choices: - absent - present default: present description: - Whether the role should be added (or modified), or removed. type: str append: description: - Optionally append privileges. type: bool privileges: description: - List of privileges to give. type: list
name: description: The role name. returned: On success. type: str privileges: description: List of privileges. returned: On success when role exists. type: list