1# Copyright 2016 Doalitic. 2# 3# This file is part of Ansible 4# 5# Ansible is free software: you can redistribute it and/or modify 6# it under the terms of the GNU General Public License as published by 7# the Free Software Foundation, either version 3 of the License, or 8# (at your option) any later version. 9# 10# Ansible is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14# 15# You should have received a copy of the GNU General Public License 16# along with Ansible. If not, see <http://www.gnu.org/licenses/>. 17 18# The Brook.io inventory script has the following dependencies: 19# 1. A working Brook.io account 20# See https://brook.io 21# 2. A valid token generated through the 'API token' panel of Brook.io 22# 3. The libbrook python libray. 23# See https://github.com/doalitic/libbrook 24# 25# Author: Francisco Ros <fjros@doalitic.com> 26 27[brook] 28# Valid API token (required). 29# E.g. 'Aed342a12A60433697281FeEe1a4037C' 30# 31api_token = 32 33# Project id within Brook.io, as obtained from the project settings (optional). If provided, the 34# generated inventory will just include the hosts that belong to such project. Otherwise, it will 35# include all hosts in projects the requesting user has access to. The response includes groups 36# 'project_x', being 'x' the project name. 37# E.g. '2e8e099e1bc34cc0979d97ac34e9577b' 38# 39project_id = 40