mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add Environment Passthrough to Proxmox Inventory Module (#1645)
* Add env passthrough for Proxmox secrets * Improve descriptions for env passthrough. * Implement requested documentation changes * Add changelog fragment * Update changelogs/fragments/1645-proxmox-env-passthrough.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
5b1bede4cb
commit
f1a31611b7
2 changed files with 21 additions and 3 deletions
3
changelogs/fragments/1645-proxmox-env-passthrough.yml
Normal file
3
changelogs/fragments/1645-proxmox-env-passthrough.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
minor_changes:
|
||||||
|
- proxmox inventory plugin - add environment variable passthrough (https://github.com/ansible-collections/community.general/pull/1645).
|
|
@ -27,17 +27,32 @@ DOCUMENTATION = '''
|
||||||
choices: ['community.general.proxmox']
|
choices: ['community.general.proxmox']
|
||||||
type: str
|
type: str
|
||||||
url:
|
url:
|
||||||
description: URL to Proxmox cluster.
|
description:
|
||||||
|
- URL to Proxmox cluster.
|
||||||
|
- If the value is not specified in the inventory configuration, the value of environment variable C(PROXMOX_URL) will be used instead.
|
||||||
default: 'http://localhost:8006'
|
default: 'http://localhost:8006'
|
||||||
type: str
|
type: str
|
||||||
|
env:
|
||||||
|
- name: PROXMOX_URL
|
||||||
|
version_added: 2.0.0
|
||||||
user:
|
user:
|
||||||
description: Proxmox authentication user.
|
description:
|
||||||
|
- Proxmox authentication user.
|
||||||
|
- If the value is not specified in the inventory configuration, the value of environment variable C(PROXMOX_USER) will be used instead.
|
||||||
required: yes
|
required: yes
|
||||||
type: str
|
type: str
|
||||||
|
env:
|
||||||
|
- name: PROXMOX_USER
|
||||||
|
version_added: 2.0.0
|
||||||
password:
|
password:
|
||||||
description: Proxmox authentication password.
|
description:
|
||||||
|
- Proxmox authentication password.
|
||||||
|
- If the value is not specified in the inventory configuration, the value of environment variable C(PROXMOX_PASSWORD) will be used instead.
|
||||||
required: yes
|
required: yes
|
||||||
type: str
|
type: str
|
||||||
|
env:
|
||||||
|
- name: PROXMOX_PASSWORD
|
||||||
|
version_added: 2.0.0
|
||||||
validate_certs:
|
validate_certs:
|
||||||
description: Verify SSL certificate if using HTTPS.
|
description: Verify SSL certificate if using HTTPS.
|
||||||
type: boolean
|
type: boolean
|
||||||
|
|
Loading…
Reference in a new issue