From 38ff797d57e09ed4a91b78445831132b60af2495 Mon Sep 17 00:00:00 2001 From: Bernhard Lichtinger Date: Fri, 31 Jul 2015 14:18:59 +0200 Subject: [PATCH] Added support for ini-file. Added _meta dictionary with hostvars in --list json output. --- contrib/inventory/spacewalk.ini | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 contrib/inventory/spacewalk.ini diff --git a/contrib/inventory/spacewalk.ini b/contrib/inventory/spacewalk.ini new file mode 100644 index 00000000000..5433c4221b2 --- /dev/null +++ b/contrib/inventory/spacewalk.ini @@ -0,0 +1,16 @@ +# Put this ini-file in the same directory as spacewalk.py +# Command line options have precedence over options defined in here. + +[spacewalk] +# To limit the script on one organization in spacewalk, uncomment org_number +# and fill in the organization ID: +# org_number=2 + +# To prefix the group names with the organization ID set prefix_org_name=true. +# This is convenient when org_number is not set and you have the same group names +# in multiple organizations within spacewalk +# The prefix is "org_number-" +prefix_org_name=false + +# Default cache_age for files created with spacewalk-report is 300sec. +cache_age=300