Comments (2)
Unless someone else can give an exact answer, the best I can say is to look at the Ansible code, what API calls it is making, and see in the PVE API documentation what permissions are needed for each. Each endpoint in the API docs should tell you the permission needed and the path it is needed on. I would start with no permissions and add the needed ones until Ansible does what you want. Being able to create LXC containers will obviously be greater permissions than just reading state from PVE, but the Home Assistant PVE integration only needs Auditor role.
I would also suggest creating a role for ansible in PVE rather than setting all the permissions on the API Token itself so you can easily revoke it or create additional tokens without having to reinvent the wheel with your permissions.
from proxmoxer.
Thanks, I'll take a look. Appreciate it!
from proxmoxer.
Related Issues (20)
- Two extra bytes in ISO file when uploading via API / Proxmoxer HOT 6
- reset vm root password HOT 1
- Could we always include resp.text in ResourceException.content?
- Some task-resulting calls for local backaned always return Error 500 HOT 1
- Can't get vm lock status HOT 1
- How to create a container? HOT 2
- Not displaying containers using example from docs HOT 4
- feature request: qemu agent exec-status pid re-checker
- Update description in vm config HOT 4
- Parameter verification failed: 'sshkeys' VM config option HTTP query argument is improperly escaped. HOT 5
- OIDC Login HOT 1
- Weird OTP problem HOT 12
- How to use ssh-public-key in pct create for lxc HOT 6
- Status or progress of uploads to /nodes/{node}/storage/{storage}/upload
- qemu monitor api failed to call command like `info block` HOT 2
- Feature Request: SDN API Support HOT 1
- InsecureRequestWarning HOT 5
- How to reach API endpoint options with '-' in the name ? HOT 1
- I can't install proxmoxer HOT 7
- How to create a datastore with keep-monthly option? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxmoxer.