Add warnings when installing container type roles

This commit is contained in:
Chris Houseknecht 2016-10-03 11:35:32 -04:00
parent 7b2f15453d
commit 77de83730d
3 changed files with 29 additions and 15 deletions

View file

@ -91,7 +91,8 @@ class GalaxyAPI(object):
headers = self.__auth_header()
try:
display.vvv(url)
resp = open_url(url, data=args, validate_certs=self._validate_certs, headers=headers, method=method)
resp = open_url(url, data=args, validate_certs=self._validate_certs, headers=headers, method=method,
timeout=20)
data = json.load(resp)
except HTTPError as e:
res = json.load(e)