diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-20 19:18:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-20 19:18:00 -0300 |
commit | 4dcf76261952adb273578c9fe798ffa9d33101b2 (patch) | |
tree | f2a4eba30face33d4e99f4d43487765df3411019 /share/hydra/inventory | |
parent | 91581c1ed778b5dccd472201cc14be2eaca6b1a4 (diff) | |
download | hydra-4dcf76261952adb273578c9fe798ffa9d33101b2.tar.gz hydra-4dcf76261952adb273578c9fe798ffa9d33101b2.tar.bz2 |
Initial changes for ansible integration
Diffstat (limited to 'share/hydra/inventory')
-rw-r--r-- | share/hydra/inventory | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/share/hydra/inventory b/share/hydra/inventory index e69de29..97b63e6 100644 --- a/share/hydra/inventory +++ b/share/hydra/inventory @@ -0,0 +1,27 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- +# +# Builds an inventory of nodes. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public +# License along with this program. If not, see +# <http://www.gnu.org/licenses/>. +# Copyright (C) 2015 Silvio Rhatto<fujiro@sarava.org> + +# Dependencies +import yaml +import sys, os + +# TODO +class Inventory: + """Hydra inventory class""" |