# Copyright 2016 Doalitic. # # This file is part of Ansible # # Ansible is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Ansible is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # The Brook.io inventory script has the following dependencies: # 1. A working Brook.io account # See https://brook.io # 2. A valid token generated through the 'API token' panel of Brook.io # 3. The libbrook python libray. # See https://github.com/doalitic/libbrook # # Author: Francisco Ros [brook] # Valid API token (required). # E.g. 'Aed342a12A60433697281FeEe1a4037C' # api_token = # Project id within Brook.io, as obtained from the project settings (optional). If provided, the # generated inventory will just include the hosts that belong to such project. Otherwise, it will # include all hosts in projects the requesting user has access to. The response includes groups # 'project_x', being 'x' the project name. # E.g. '2e8e099e1bc34cc0979d97ac34e9577b' # project_id =