Merge "linters: ensure openstack/inventory.yaml parses"

This commit is contained in:
Zuul 2019-06-13 20:54:36 +00:00 committed by Gerrit Code Review
commit 598d1d4be5
1 changed files with 3 additions and 0 deletions

View File

@ -17,6 +17,9 @@ commands =
python3 {toxinidir}/tools/sorted_modules_env.py {toxinidir}/modules.env
python3 {toxinidir}/tools/irc_checks.py
python3 {toxinidir}/tools/check_clouds_yaml.py
# The following command validates that inventory/openstack.yaml
# parses, but doesn't do anything.
bash -c "ANSIBLE_INVENTORY_PLUGINS=./playbooks/roles/install-ansible/files/inventory_plugins ansible -i ./inventory/openstack.yaml not_a_host -a 'true'"
python3 -m unittest playbooks/roles/install-ansible/files/inventory_plugins/test_yamlgroup.py
# Ansible Lint Check
#