From ca8b50d5692a2305e5e995d4cde9cb92fcad0f85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Maggioni?= Date: Fri, 17 Mar 2017 12:27:35 +0100 Subject: [PATCH] README addition for JSON config file --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index f1ad6e8..7ddfd2a 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,17 @@ export PROXMOX_PASSWORD=apiuser1234 export PROXMOX_INVALID_CERT=False ``` +You may also save your settings in a JSON file with the same name of the Python script, in its same folder (e.g.: if the downloaded script is `/etc/ansible/proxmox.py`, the configuration file will be `/etc/ansible/proxmox.json`): + +```json +{ + "url": "https://10.0.0.1:8006/", + "username": "apiuser@pve", + "password": "apiuser1234", + "validateCert": false +} +``` + So now you can check it again without credential parameters: ```sh