A script to, query Apache Guacamole API, retrieve all connections informations and pass them to ansible as inventory
- Clone the repo:
git clone [email protected]:theko2fi/ansible-apache-guacamole-dynamic-inventory.git
- Create a
.env
file in the project directory with the fllowing content:
GUACAMOLE_URL="http://example.com/guacamole"
GUACAMOLE_USER=""
GUACAMOLE_PASSWORD=""
Where:
GUACAMOLE_URL
is the url of your Apache Guacamole instanceGUACAMOLE_USER
is your usernameGUACAMOLE_PASSWORD
is your password
ansible-playbook -i inventory.py main.yml