
This brings: 1) A new page to explain how can a deployer test its configuration files. 2) Links on the pages mentionning the playbooks that traditionally has errors because of the deployer's config. Change-Id: I434152a14de806e24e5886969dfa15e3ff1c4928
900 B
900 B
Home OpenStack-Ansible Installation Guide
Checking the integrity of your configuration files
Here are a few steps to execute before running any playbook:
Make sure all the files edited in
/etc/
are ansible YAML compliant. Guidelines can be found here: http://docs.ansible.com/ansible/YAMLSyntax.htmlCheck the integrity of your yaml files using a yaml linter.
Note
Here is an online linter: http://www.yamllint.com/
Run your command with syntax-check, for example, in the playbooks directory:
$ openstack-ansible setup-infrastructure.yml --syntax-check
Recheck that all indentation seems correct: the syntax of the configuration files can be correct while not being meaningful for openstack-ansible.