Webapp that presents an internet hosted Ansible inventory as a nice webpage
Config, check what gets created in the instance folder
Install pipx https://pipx.pypa.io/stable/
Install poetry with pipx pipx install poetry
poetry install
poetry shell
flask --app ansibleinventorycmdb run --port 5000
poetry install --only main
.venv/bin/waitress-serve \
--listen "127.0.0.1:5000" \
--trusted-proxy '*' \
--trusted-proxy-headers 'x-forwarded-for x-forwarded-proto x-forwarded-port' \
--log-untrusted-proxy-headers \
--clear-untrusted-proxy-headers \
--threads 4 \
--call ansibleinventorycmdb:create_app
Cleanup loggingUse instance path properlyRefresh every X hoursUse YAMLWrite real readmefix that text block issue in the vars yaml