Skip to content

chornberger-c2c/ansible-collection-glpi

 
 

Repository files navigation

Ansible collection for GLPI

Note: At the start this repository contains only a JSON inventory. The script has been moved to scripts/inventory for legacy.

This collection contains:

Installation

Theses python modules must be installed on the controller:

  • pyyaml for manipulating YAML files
  • yamlloader for keeping configuration order
  • glpi-api for interacting with GLPI REST API

There is a requirements file containing these dependencies so, if you don't care about clean integration to the system (using virtualenvs, distribution packages, ...):

$ sudo pip install -r requirements.txt

To install the collection:

# set collections directory to the current directory (default is ~/.ansible/collections)
$ export ANSIBLE_COLLECTIONS_PATH=$(pwd)
$ ansible-galaxy collection install git+https:/unistra/ansible-collection-glpi,1.1.1

With a requirements file:

$ vim requirements.yml
---
collections:
- name: https:/unistra/ansible-collection-glpi
  type: git
  version: 1.1.1

$ ansible-galaxy install -r requirements.yml

About

Ansible dynamic inventory for GLPI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Makefile 1.3%
  • Shell 0.2%