summaryrefslogtreecommitdiffstats
path: root/contrib/inventory/collins.ini
diff options
context:
space:
mode:
authorMichael Schuett <schuettm@uberatc.com>2016-10-31 17:19:22 +0100
committerBrian Coca <bcoca@users.noreply.github.com>2016-11-23 20:39:25 +0100
commit21813ed83eb899a7c2c78b024abcd9db6ce01023 (patch)
treed3d41fc6071fdbf10f716d0386a6215492ac693b /contrib/inventory/collins.ini
parentDetect default group in template integration test. (diff)
downloadansible-21813ed83eb899a7c2c78b024abcd9db6ce01023.tar.xz
ansible-21813ed83eb899a7c2c78b024abcd9db6ce01023.zip
Fix auth in collins.py inventory
This forces basic auth to be used. Using the normal HTTPPasswordMgrWithDefaultRealm password manager from urllib2 fails since collins doesn't send a 401 retry on failure. More about this can be seen here http://stackoverflow.com/questions/2407126/python-urllib2-basic-auth-problem. I added a small comment about the format of the host so others don't waste time like i did.
Diffstat (limited to 'contrib/inventory/collins.ini')
-rw-r--r--contrib/inventory/collins.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/inventory/collins.ini b/contrib/inventory/collins.ini
index 748fcf854a..0ce0c2acbd 100644
--- a/contrib/inventory/collins.ini
+++ b/contrib/inventory/collins.ini
@@ -3,6 +3,8 @@
[collins]
+# You should not have a trailing slash or collins
+# will not properly match the URI
host = http://localhost:9000
username = blake