openstack-ansible/doc/source/install-guide/configure-configurationintegrity.rst
Matt Thompson 06708191d6 Install Guide Cleanup
This commit does the following:

- sets all shell prompts in code-blocks to the root prompt
- uses shell-session code-block since the shell prompt was being
  treated as a comment
- links configure-aodh.rst in configure.rst (running tox was
  complaining that this file wasn't being linked anywhere)
- other minor cleanup

Change-Id: I9e3ac8bb0cabd1cc17952cfd765dbb0d8f7b6fa2
2015-10-21 07:25:25 +01:00

909 B

Home OpenStack-Ansible Installation Guide

Checking the integrity of your configuration files

Here are a few steps to execute before running any playbook:

  1. Make sure all the files edited in /etc/ are ansible YAML compliant. Guidelines can be found here: http://docs.ansible.com/ansible/YAMLSyntax.html

  2. Check the integrity of your yaml files using a yaml linter.

    Note

    Here is an online linter: http://www.yamllint.com/

  3. Run your command with syntax-check, for example, in the playbooks directory:

    # openstack-ansible setup-infrastructure.yml --syntax-check
  4. Recheck that all indentation seems correct: the syntax of the configuration files can be correct while not being meaningful for openstack-ansible.