Ansible collection for GLPI
Note: At the start this repository contains only a JSON inventory. The script has been
moved to scripts/inventory <https://github.com/unistra/ansible-collection-glpi/tree/master/scripts/inventory>
_ for legacy.
This collection contains:
inventory README </plugins/inventory/README.rst>
_)modules README </plugins/modules/README.rst>
__)Theses python modules must be installed on the controller:
pyyaml <https://pypi.org/project/pyyaml>
_ for manipulating YAML filesyamlloader <https://pypi.org/project/yamlloader>
_ for keeping configuration
orderglpi-api <https://pypi.org/project/glpi-api>
_ for interacting with GLPI
REST APIThere is a requirements file containing these dependencies so, if you don't care about clean integration to the system (using virtualenvs, distribution packages, ...):
.. code::
$ sudo pip install -r requirements.txt
To install the collection:
.. code::
$ export ANSIBLE_COLLECTIONS_PATH=$(pwd) $ ansible-galaxy collection install git+https://github.com/unistra/ansible-collection-glpi,1.1.1
With a requirements file:
.. code::
collections:
name: https://github.com/unistra/ansible-collection-glpi type: git version: 1.1.1
$ ansible-galaxy install -r requirements.yml