Support passing instance filters to tower inventory src

* Switch ignore ssl errors to default on
* Application inventory source defaults for Tower src
This commit is contained in:
Matthew Jones
2017-10-25 16:56:26 -04:00
parent 6c597ad165
commit fdc7f58bb4
5 changed files with 15 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ def parse_configuration():
host_name = os.environ.get("TOWER_HOSTNAME", None)
username = os.environ.get("TOWER_USERNAME", None)
password = os.environ.get("TOWER_PASSWORD", None)
ignore_ssl = os.environ.get("TOWER_IGNORE_SSL", "0").lower() in ("1", "yes", "true")
ignore_ssl = os.environ.get("TOWER_IGNORE_SSL", "1").lower() in ("1", "yes", "true")
inventory = os.environ.get("TOWER_INVENTORY", None)
errors = []