summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorBernhard Lichtinger <bernhard.lichtinger@lrz.de>2015-07-31 14:18:59 +0200
committerBernhard Lichtinger <bernhard.lichtinger@lrz.de>2015-07-31 14:18:59 +0200
commit38ff797d57e09ed4a91b78445831132b60af2495 (patch)
treee78d137bb98151dbd76b3ef2ebfe62185d9c2ed4 /contrib
parentAdd support for multiple organizations in spacewalk. (diff)
downloadansible-38ff797d57e09ed4a91b78445831132b60af2495.tar.xz
ansible-38ff797d57e09ed4a91b78445831132b60af2495.zip
Added support for ini-file.
Added _meta dictionary with hostvars in --list json output.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/inventory/spacewalk.ini16
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/inventory/spacewalk.ini b/contrib/inventory/spacewalk.ini
new file mode 100644
index 0000000000..5433c4221b
--- /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