Parameters for connecting to GLPI are managed by the CLI, using some environment variables as default values of theses options.
Usage of dynamic inventories with Ansible commands (ansible, ansible-playbook) does not allow to pass option to the inventory script and environment variables needs to be defined.
It may be preferable to use a (YAML?) configuration file for defining connection parameters. As there is already a configuration file for groups configuration, should theses files be merged?
Parameters for connecting to GLPI are managed by the CLI, using some environment variables as default values of theses options.
Usage of dynamic inventories with Ansible commands (
ansible
,ansible-playbook
) does not allow to pass option to the inventory script and environment variables needs to be defined.It may be preferable to use a (YAML?) configuration file for defining connection parameters. As there is already a configuration file for groups configuration, should theses files be merged?