linters: ensure openstack/inventory.yaml parses
This runs openstack/inventory.yaml through a basic syntax check. This would have caught a typo such as in I0e55d2c575427e404709e78d0c7a10a974117ac4 (fixed I834411ef2dee458ae15fb99a3c88b6d2fee4cf1e) Change-Id: I4cbf9898d598aeeef1583ab22ceb9d0cdf081064
This commit is contained in:
parent
5981df66ea
commit
41127eb1c9
3
tox.ini
3
tox.ini
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user