Hi!
I'm trying to run ansible downloading templates for VMs without giving ansible admin permissions.
I tried to change permissions on role as follows:
BUT it doesn't work.
In log there is:
I use this ansible module:
I'm trying to run ansible downloading templates for VMs without giving ansible admin permissions.
I tried to change permissions on role as follows:
Code:
pveum roleadd API_RoleDatastoreAmin -privs "Datastore.AllocateTemplate Datastore.Audit Datastore.AllocateSpace"
In log there is:
Code:
::ffff:IPAADDESS- storageadmin@pve [14/10/2022:20:30:38 +0000] "GET /api2/json/version HTTP/1.1" 200 65
::ffff:IPAADDESS- storageadmin@pve [14/10/2022:20:30:38 +0000] "GET /api2/json/nodes/hv/storage/local/content HTTP/1.1" 500 13
HTML:
https://docs.ansible.com/ansible/latest/collections/community/general/proxmox_template_module.html#ansible-collections-community-general-proxmox-template-module
