Enable linting for the repo

This change creates necessary configuration for running lint
against the changes sent to this repository. Outcomes of all
checks are currently disabled since the repository is currently
empty. They will be enabled once we start moving stuff into
this repository.

ansible-lint, yamllint, and shellcheck are enabled for the repo.

Change-Id: Ia628b4e52ebbac7eed952382b89868caaa6eaa3e
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000..07a61f5
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,26 @@
+[tox]
+basepython = py36
+minversion = 2.5
+skipsdist = true
+envlist = ansible-lint, shellcheck, yamllint
+install_command = pip install {opts} {packages}
+deps = -r{toxinidir}/test-requirements.txt
+
+[testenv:ansible-lint]
+whitelist_externals = bash
+commands =
+  bash -c "find {toxinidir}/kolla -type f -regex '.*.ya?ml' ! -regex '.*heat-template.*' -print0 | \
+    xargs -t -n1 -0 ansible-lint --nocolor"
+
+[testenv:yamllint]
+whitelist_externals = bash
+commands =
+  bash -c "find {toxinidir}/kolla -type f -regex '.*.ya?ml' -print0 | \
+    xargs -t -n1 -0 yamllint --format standard --strict"
+
+[testenv:shellcheck]
+whitelist_externals = bash
+commands =
+  bash -c "find {toxinidir}/kolla -type f -name '*.sh' -print0 | \
+    xargs -t -n1 -0 shellcheck --color=never --source-path={toxinidir}/kolla \
+    --external-sources --format=tty"