06708191d6
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
30 lines
909 B
ReStructuredText
30 lines
909 B
ReStructuredText
`Home <index.html>`_ 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.html>`_
|
|
|
|
#. Check 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:
|
|
|
|
.. code-block:: shell-session
|
|
|
|
# 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.
|
|
|
|
--------------
|
|
|
|
.. include:: navigation.txt
|